    /* Identity Section Headline */
    .identity-section-headline {
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 20px;
        color: #525359;
        text-transform: uppercase;
        letter-spacing: 1px;
        animation: fadeIn 1s ease-out;
    }
    
    .identity-section-headline .Header_feelBetter__OnP3V {
        color: #0c0d0d;
        font-weight: normal;
        text-transform: capitalize;
    }
    
    .identity-search-container {
        display: flex; /* Align items in a row */
        gap: 5px; /* Space between the search box and button */
        align-items: center; /* Ensure both items align vertically */
        width: 100%; /* Take full width of the container */
        box-sizing: border-box; /* Include padding and border in width/height calculations */
        
    }
    
    .identity-search-box {
        flex-grow: 1; /* Allow the search box to take up all available space */
        height: 60px; /* Consistent height */
        padding: 10px; /* Inner spacing */
        font-size: 1rem; /* Font size for text */
        border: 1px solid #ccc; /* Border for the input box */
        background: rgb(13, 28, 244, 0.4);
        border-radius: 4px; /* Rounded corners */
        box-sizing: border-box; /* Include padding in size */
        
        width: 50%; /* Set width to 50% or use a fixed value like 300px */
        
        animation: pulse-animation 3s infinite ease-in-out; /* Applying pulse animation */
    }
    
    
    /* Pulse animation effect */
    @keyframes pulse-animation {
        0% {
            transform: scale(1);
            box-shadow: 0 0 10px rgba(13, 28, 244, 0.6);
        }
        50% {
            transform: scale(1.02); /* Slightly zooms in */
            box-shadow: 0 0 15px rgba(13, 28, 244, 0.8);
        }
        100% {
            transform: scale(1);
            box-shadow: 0 0 10px rgba(13, 28, 244, 0.6);
        }
    }
    
    
    
    .identity-search-box::placeholder {
        font-size: 1.3rem; /* Consistent placeholder font size */
        color: #0f0e0e; /* Softer placeholder color */
    }
    
    .identity-search-button {
        height: 60px; /* Match the search box height */
        padding: 0 15px; /* Horizontal padding for a balanced appearance */
        font-size: 1rem; /* Font size for the button text */
        color: white; /* Button text color */
        background-color: #090909; /* Button background color */
        border: none; /* No border */
        border-radius: 4px; /* Rounded corners to match the search box */
        cursor: pointer; /* Pointer cursor on hover */
        box-sizing: border-box; /* Include padding in size */
        transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
    }
    
    .identity-search-box:hover {
            background-color: #a5e99e; /* Lighter sky blue on hover */
        }
    
    .identity-search-button:hover {
        background-color: #4ae4ac;
        transform: scale(1.05); /* Adjusted scaling for subtle effect */
    }
    
    .identity-availability-result {
        margin-top: 15px;
        font-size: 1.2rem; /* Optimized for readability */
        color: #222;
    }
    
    .available-box,
    .taken-box {
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 1rem;
    }
    
    /* Adjusted Media Queries */
    
    
    @media (max-width: 360px) {
        .identity-search-box {
            height: 45px;
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 768px) {
        .identity-search-box {
            font-size: 0.9rem; /* Adjust text size for smaller screens */
            height: 36px; /* Slightly reduce height */
        }
    
        .identity-section-headline {
        font-size: 2rem; /* Slightly smaller for tablets */
        }
        
        .identity-search-button {
            font-size: 0.85rem; /* Smaller font size for compact layout */
            height: 36px; /* Match search box height */
            padding: 0 12px; /* Adjust padding */
        }
    }
    
    @media (max-width: 480px) {
        .identity-search-box {
            font-size: 0.85rem; /* Smaller text for very small screens */
            height: 34px; /* Reduce height */
        }
    
    
        .identity-section-headline {
            font-size: 2rem !important; /* Smaller for tablets */
        }
    
        .identity-search-button {
            font-size: 0.8rem; /* Even smaller font size */
            height: 34px; /* Match search box height */
            padding: 0 10px; /* Compact padding */
        }
    }
    
    /* Invalid Box Styling */
    .invalid-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        max-width: 90%; /* Adjust based on the viewport */
        width: 100%; /* Full width within parent */
        min-width: 250px; /* Ensures it doesn't shrink too much */
        padding: 10px 15px;
        border-radius: 10px;
        margin: 10px auto; /* Centered and with spacing */
        gap: 10px;
        box-sizing: border-box; /* Include padding in width calculation */
        font-size: 1rem; /* Adjust font size for readability */
        background-color: #e8e40e; /* Light red background */
        border: 2px solid #95bf0c; /* Red border */
        color: #040404f9; /* Red text */
    }
    
    /* Hover Effects for Invalid Box */
    .invalid-box:hover {
        background-color: #fcd9d9; /* Slightly lighter red on hover */
        border-color: #e53935; /* Slightly darker red border */
        color: #e53935; /* Adjust text color */
    }
    
    /* Flash Animation for Invalid Box */
    @keyframes flash-invalid {
        0% {
            background-color: #95bf0c; /* Bright red for emphasis */
            border-color: #e8e40e;
        }
        100% {
            background-color: #e8e40e; /* Stabilized red */
            border-color: #95bf0c;
        }
    }
    
    .available-box,
    .taken-box {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        border-radius: 10px;
        margin: 10px auto;
        gap: 10px;
        box-sizing: border-box;
        font-family: 'Arial', sans-serif;
        font-size: 1rem;
        animation: fadeIn 0.5s ease-out, flash-success 0.5s ease-out;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .available-box {
        background-color: #ffffff;
        border: 2px solid #4caf50;
        color: #4caf50;
    }
    
    .taken-box {
        background-color: #ffffff;
        border: 2px solid #f44336;
        color: #f44336;
    }
    
    .available-box:hover,
    .taken-box:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    /* Responsive Design */
    @media (max-width: 768px) {
        .available-box,
        .taken-box {
            padding: 10px 15px;
            font-size: 0.9rem;
        }
    }
    
    @media (max-width: 480px) {
        .available-box,
        .taken-box {
            padding: 8px 12px;
            font-size: 0.85rem;
        }
    }
    
    
    /* Apply Animation to Invalid Box */
    .invalid-box {
        animation: flash-invalid 1s ease-in-out;
    }
    
    /* Adjustments for Other Boxes (Consistency) */
    .available-box,
    .taken-box,
    .invalid-box {
        font-size: 0.9rem; /* Unified font size across all boxes */
        padding: 8px 12px; /* Consistent padding */
        width: 100%; /* Full width */
        min-width: 0; /* Ensure boxes can shrink */
        max-width: 95%; /* Limit width for smaller screens */
    }
    
    /* Responsive Styling for All Boxes */
    @media (max-width: 768px) {
        .available-box,
        .taken-box,
        .invalid-box {
            font-size: 0.85rem; /* Smaller font for tablets */
            padding: 8px; /* Compact padding */
        }
    }
    
    @media (max-width: 480px) {
        .available-box,
        .taken-box,
        .invalid-box {
            font-size: 0.8rem; /* Compact font size for mobile */
            padding: 6px; /* Adjust padding */
        }
    }
    
    /* Fixed Navbar Styling */
    .ui_flex__SUhIl.ui_flex-row__piCg7.Navbar_mobileMenu__4Q_f1 {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.9); /* Semi-transparent white */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
      z-index: 1000; /* Ensures navbar is above other elements */
      display: flex;
      justify-content: center; /* Center all content horizontally */
      align-items: center;
      height: 60px; /* Fixed height */
      padding: 0 20px; /* Add padding to the left and right */
      overflow: hidden; /* Prevent content from going outside the navbar */
    }
    
    /* Navbar Container Styling */
    /* Navbar Container Styling */
    .Navbar_container {
      position: absolute; /* Keep it independently positioned */
      left: 20px; /* Align the logo to the left */
      display: flex;
      align-items: center;
      height: 100%; /* Ensure it matches the navbar height */
      flex-shrink: 0; /* Prevent the logo from shrinking */
    }
    
    /* Logo Styling */
    .Navbar_container a img {
      max-width: 100px; /* Limit logo size for smaller screens */
      height: auto; /* Maintain aspect ratio */
      display: block;
      transition: all 0.3s ease; /* Smooth resizing on screen change */
    }
    
    /* Ethereum Header Styling */
    .Navbar_header {
      text-align: center;
      white-space: nowrap; /* Prevent text wrapping */
      overflow: hidden; /* Hide overflow if it exceeds the box */
      text-overflow: ellipsis; /* Show "..." if the text overflows */
    }
    
    .Navbar_header h1 {
      font-size: 28px; /* Adjust font size */
      font-weight: bold;
      color: #333; /* Adjust color for visibility */
      margin: 0; /* Remove default margin */
      text-transform: uppercase; /* Optional: Make the text uppercase for emphasis */
    }
    
    /* Responsive Adjustments for Smaller Screens */
    @media (max-width: 768px) {
      .Navbar_container {
        left: 10px; /* Adjust padding for smaller screens */
      }
    
      .Navbar_container a img {
        max-width: 80px; /* Reduce the logo size on smaller screens */
      }
    }
    
    /* Responsive Adjustments (Optional) */
    @media (max-width: 768px) {
      .Navbar_header h1 {
        font-size: 14px; /* Adjust font size for smaller screens */
      }
    
      .ui_flex__SUhIl.ui_flex-row__piCg7.Navbar_mobileMenu__4Q_f1 {
        height: 50px; /* Adjust height for smaller screens */
        padding: 0 10px; /* Reduce padding on smaller screens */
      }
    }
     /* Body Styling */
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #fcfbfb; /* Dark background for contrast */
      color: #ffffff;
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
    
    }
    
    /* Repeating Pattern for Logos */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('/logos/ethereum-eth-logo.svg') 5% 10% / 80px 80px no-repeat,
        url('/logos/solana-sol-logo.svg') 15% 50% / 100px 100px no-repeat,
        url('/logos/binance-coin-bnb-logo.svg') 10% 20% / 90px 90px no-repeat,
        url('/logos/binance-coin-bnb-logo.svg') 60% 30% / 90px 90px no-repeat,
        url('/logos/polygon-matic-logo.svg') 30% 75% / 80px 80px no-repeat,
        url('/logos/polygon-matic-logo.svg') 20% 20% / 90px 90px no-repeat,
        url('/logos/polygon-matic-logo.svg') 75% 70% / 80px 80px no-repeat,
        url('/logos/tron-trx-logo.svg') 70% 45% / 100px 100px no-repeat,
        url('/logos/arbitrum-arb-logo.svg') 40% 85% / 85px 85px no-repeat,
        url('/logos/arbitrum-arb-logo.svg') 50% 20% / 90px 90px no-repeat,
        url('/logos/arbitrum-arb-logo.svg') 80% 55% / 90px 90px no-repeat,
        url('/logos/binance-coin-bnb-logo.svg') 80% 15% / 90px 90px no-repeat,
        url('/logos/arbitrum-arb-logo.svg') 70% 10% / 90px 90px no-repeat,
        url('/logos/ethereum-eth-logo.svg') 85% 5% / 80px 80px no-repeat,
        url('/logos/solana-sol-logo.svg') 10% 80% / 90px 90px no-repeat,
        url('/logos/tron-trx-logo.svg') 20% 40% / 100px 100px no-repeat,
        url('/logos/binance-coin-bnb-logo.svg') 50% 10% / 90px 90px no-repeat,
        url('/logos/polygon-matic-logo.svg') 40% 60% / 80px 80px no-repeat;
    opacity: 0.8; /* Subtle transparency for the background logos */
    z-index: -1; /* Positioned behind all other elements */
    animation: floatAnimation 15s ease-in-out infinite;
}

/* Keyframes for the floating animation */
@keyframes floatAnimation {
    0% {
        background-position: 5% 10%, 15% 50%, 10% 20%, 60% 30%, 30% 75%, 20% 20%, 75% 70%, 20% 40%, 70% 45%, 40% 85%, 50% 20%, 80% 55%, 80% 15%, 70% 10%, 85% 5%, 10% 80%, 50% 10%, 40% 60%;
    }
    50% {
        background-position: 10% 20%, 20% 60%, 15% 30%, 65% 35%, 40% 80%, 30% 40%, 80% 75%, 30% 50%, 75% 55%, 50% 90%, 60% 30%, 85% 65%, 85% 25%, 75% 15%, 90% 10%, 20% 90%, 55% 20%, 50% 50%;
    }
    100% {
        background-position: 5% 10%, 15% 50%, 10% 20%, 60% 30%, 30% 75%, 20% 20%, 75% 70%, 20% 40%, 70% 45%, 40% 85%, 50% 20%, 80% 55%, 80% 15%, 70% 10%, 85% 5%, 10% 80%, 50% 10%, 40% 60%;
    }
}

/* Responsive Adjustments for Smaller Screens */
@media (max-width: 768px) {
    body::before {
        background: 
            url('/logos/ethereum-eth-logo.svg') 10% 20% / 60px 60px no-repeat,
            url('/logos/solana-sol-logo.svg') 30% 50% / 70px 70px no-repeat,
            url('/logos/binance-coin-bnb-logo.svg') 50% 30% / 65px 65px no-repeat,
            url('/logos/polygon-matic-logo.svg') 70% 75% / 60px 60px no-repeat,
            url('/logos/tron-trx-logo.svg') 90% 20% / 70px 70px no-repeat;
        opacity: 0.8; /* Reduce visibility slightly */
    }
}

@media (max-width: 480px) {
    body::before {
        background: 
            url('/logos/ethereum-eth-logo.svg') 5% 10% / 40px 40px no-repeat,
            url('/logos/solana-sol-logo.svg') 20% 40% / 50px 50px no-repeat,
            url('/logos/binance-coin-bnb-logo.svg') 35% 20% / 45px 45px no-repeat,
            url('/logos/polygon-matic-logo.svg') 50% 60% / 40px 40px no-repeat,
            url('/logos/tron-trx-logo.svg') 70% 15% / 50px 50px no-repeat;
        opacity: 0.8;
    }
}

    /* Container Styling */
    .container {
      background: linear-gradient(145deg, rgba(255, 255, 255, var(--container-opacity, 0.6)), rgba(247, 247, 247, var(--container-opacity, 0.95))); /* Adjust opacity with CSS variable */
      border-radius: 15px;
      padding: 10px;
      width: 85%;
      max-width: 700px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); /* Separates the container from the background */
      margin: 80px auto;
      position: relative;
      z-index: 1; /* Above the background */
      color: #000000; /* Text remains dark for contrast */
    }
    
    /* Ensure Full Viewport Coverage */
    html, body {
      height: 100%;
    }
    
    /* Scrollable Content Styling */
    .container h1 {
      font-size: 2.5rem;
      text-align: center;
      margin-bottom: 20px;
    }
    
    .container p {
      line-height: 1.6;
      font-size: 1rem;
      margin-bottom: 20px;
    }
           
        h1, h2 {
        margin: 0;
     }
    
        /* Buttons */
        .button-toggle {
        width: 50px;
        height: 50px;
        border: 2px solid #0d1cf4;
        background: transparent;
        border-radius: 50%;
        color: #0d1cf4;
        cursor: pointer;
        font-size: 28px;
        transition: all 0.3s ease;
    }
    
    .button-toggle:hover {
        background: #0d1cf4;
        color: #ffffff;
        transform: scale(1.1);
    }
    
            /* Tabs */
            .tab-container {
                display: flex;
                justify-content: center;
                gap: 10px;
                margin: 20px 0;
            }
    
            .tab-button {
                padding: 10px 20px;
                border: none;
                border-radius: 30px;
                background: rgba(0, 0, 0, 0.2);
                color: #0a0909;
                cursor: pointer;
                transition: all 0.3s ease;
            }
    
            .tab-button.active {
                background: #0d1cf4;
                color: #fdfcfc
            }
    
            .tab-button:hover {
                transform: scale(1.2);
            }
    
            /* Receipt */
            .receipt {
                margin-top: 20px;
                margin-bottom: 10px;
                padding: 20px;
                background: rgb(13, 28, 244, 0.4);
                border-radius: 10px;
                font-size: 16px;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            }
    
    
            /* Wallet Section */
            .wallet button {
                width: 100%;
                padding: 15px;
                font-size: 18px;
                border: none;
                border-radius: 10px;
                background: linear-gradient(135deg, #0d1cf4, #5d66e5);
                color: white;
                cursor: pointer;
                transition: background 0.3s ease;
            }
    
            .wallet button:hover {
                background: linear-gradient(135deg, #5fe55d, #057b5a);
            }
    
            .wallet p {
                font-size: 14px;
                margin-top: 10px;
                color: rgba(5, 5, 5, 0.7);
            }
    
            /* Mint Identity Section (Initially Hidden) */
/* Mint Identity Section */
#mintSection button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #0d1cf4, #5d66e5);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

#mintSection button:hover {
    background: linear-gradient(135deg, #5fe55d, #057b5a);
}

#mintSection p {
    font-size: 14px;
    margin-top: 10px;
    color: rgba(5, 5, 5, 0.7);
}

#mintWalletAddress {
    display: block;
    margin-top: 10px; /* Space between the button and wallet address */
    text-align: center; /* Center align the text */
    font-size: 14px; /* Adjust font size */
    color: #333; /* Text color */
    font-weight: bold; /* Make the text bold for better visibility */
    padding: 5px; /* Optional: Add some padding around the text */
    background-color: #f1f1f1; /* Optional: Background color to make it stand out */
    border-radius: 5px; /* Optional: Rounded corners */
}

       
    /* Gas Savings Section */
    .gas-savings-container {
      text-align: center;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      width: 100%;
      margin: 20px 0;
      animation: fadeIn 1s ease-out;
    }
    
    /* Fade-in Animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    /* Gas Bar Container */
    .gas-bar-container {
      width: 100%; /* Ensure it fills the container */
      height: 20px;
      background: #e0e0e0;
      border-radius: 10px;
      margin: 20px 0;
      position: relative;
      overflow: hidden; /* Prevents anything from spilling out of the container */
    }
    
    /* Gas Bar with Blinking Animation */
    .gas-bar {
      height: 100%;
      border-radius: 10px;
      background: linear-gradient(to right, red, yellow, green); /* Gradient from red to green */
      animation: gasBarAnimation 3s ease-in-out forwards, blink 1s infinite alternate; /* Blinking added to gas bar */
    }
    
    /* Gas Bar Animation */
    @keyframes gasBarAnimation {
      0% {
        width: 10%;
        background: red;
      }
      100% {
        width: 100%;
        background: linear-gradient(to right, red, yellow, green); /* Dynamic color change from red to green */
      }
    }
    
    /* Blinking Animation */
    @keyframes blink {
      0% {
        opacity: 1; /* Full visibility */
      }
      50% {
        opacity: 0.5; /* Half opacity */
      }
      100% {
        opacity: 1; /* Full visibility */
      }
    }
    
    /* Milestones */
    .milestones {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      margin-top: 15px;
      margin-bottom: 20px;
      font-size: 14px;
    }
    
    .milestone {
      padding: 5px 10px;
      background: #fff;
      border-radius: 10px;
      font-weight: bold;
    }
    
    /* Specific Styles for Milestones */
    .milestone-1 {
      background: rgba(255, 0, 0, 0.1); /* Red background for high gas usage */
      color: red;
    }
    
    .milestone-3 {
      background: rgba(255, 165, 0, 0.1); /* Orange background for medium gas usage */
      color: orange;
    }
    
    .milestone-9 {
      background: rgba(0, 255, 0, 0.1); /* Green background for low gas usage */
      color: green;
    }

    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, var(--popup-opacity, 0.9)); /* Default opacity 0.8, but adjustable */
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }
    
    .popup-content {
        position: relative;
        width: 80%;
        max-width: 500px;
        background: rgba(33, 33, 33, var(--content-opacity, 0.3)); /* Dark background */
        color: #ffffff; /* White text for contrast */
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(82, 78, 78, 0.7); /* Darker shadow */
        animation: popupAnimation 0.4s ease-out;
    }
    
    
    @keyframes popupAnimation {
        from {
            transform: scale(0.8);
            opacity: 0;
        }
        to {
            transform: scale(1);
            opacity: 1;
        }
    }
    
    
    .popup-content button {
                padding: 10px 24px;
                background: linear-gradient(135deg, #0d1cf4, #5d66e5);
                color: white;
                border: none;
                border-radius: 8px;
                font-size: 16px;
                font-weight: bold;
                cursor: pointer;
                transition: background-color 0.3s ease;
            }
    
            .popup-content button:hover {
                background: linear-gradient(135deg, #5fe55d, #057b5a);
            }
    
    
            .popup-close {
                position: absolute;
                top: 10px;
                right: 10px;
                background: transparent;
                border: none;
                font-size: 18px;
                color: #aaa;
                cursor: pointer;
            }
    
    
    
            /* MetaMask Logo */
            .metamask-logo {
            width: 80px;
            height: auto;
            margin: 20px auto;
            display: block;
            transition: transform 0.3s ease;
            cursor: pointer;
            animation: shake-zoom 1.5s infinite ease-in-out; /* Combined shake and zoom animation */
    }
    
    
    /* Hover Effect */
    .metamask-logo:hover {
        transform: scale(1.1); /* Slight zoom on hover */
    }
    
    /* Combined Shake and Zoom Animation */
    @keyframes shake-zoom {
        0%, 100% { 
            transform: rotate(0deg) scale(1); /* Original position and size */
        }
        25% { 
            transform: rotate(10deg) scale(1.1); /* Shake left and zoom in */
        }
        50% { 
            transform: rotate(-10deg) scale(0.9); /* Shake right and zoom out */
        }
        75% { 
            transform: rotate(10deg) scale(1.1); /* Shake left and zoom in */
        }
    }
    
    
    .popup-content .metamask-logo {
                width: 80px;
                margin: 0 auto 20px;
                transition: transform 0.3s ease;
            }
    
    .popup-content h2 {
            font-size: 20px;
            margin-bottom: 16px;
            color: #ffffff; /* Dark color for the heading text */
            }
    
    /* Pop-up Success */
.popup-success {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, var(--popup-opacity, 0.9)); /* Adjustable opacity */
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-success-content {
    position: relative;
    width: 80%;
    max-width: 500px;
    background: rgba(33, 33, 33, var(--content-opacity, 0.3));
    color: #ffffff;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(82, 78, 78, 0.7);
    animation: popupAnimation 0.4s ease-out;
}

.popup-success-content button {
    padding: 10px 24px;
    background: linear-gradient(135deg, #0d1cf4, #5d66e5);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.popup-success-content button:hover {
    background: linear-gradient(135deg, #5fe55d, #057b5a);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
}

@keyframes colorChange {
    0% { color: red; }
    25% { color: blue; }
    50% { color: green; }
    75% { color: orange; }
    100% { color: red; }
}

.animated-domain {
    font-weight: bold;
    font-size: 1.2em;
    animation: colorChange 2s infinite alternate;
}

    /* Floating Marquee Box Container */
    .marquee-box-container {
        position: relative;
        width: 100%;
        height: 250px;
        border: 2px solid #0a0200;
        border-radius: 10px;
        overflow: hidden;
        margin: 20px 0;
        background: linear-gradient(90deg, rgba(247, 247, 247, var(--box-opacity, 0.1)), rgba(255, 255, 255, var(--box-opacity, 0.1))); /* Adjustable transparency */
    }
    
    
    /* Floating Marquee Styling */
    .floating-marquee {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    
    /* Base marquee-box styles */
    .marquee-box {
        position: absolute;
        padding: 10px 20px;
        font-size: 22px;
        font-weight: bold;
        color: #fff;
        border-radius: 20px;
        animation: floatMarquee1 8s linear infinite;
        opacity: 0.7; /* Semi-transparent by default */
        transition: opacity 0.5s ease-in-out; /* Smooth transparency changes */
    }
    
    /* Animations */
    @keyframes floatMarquee1 {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
    }
    
    @keyframes floatMarquee2 {
        0% { transform: translateX(0); }
        50% { transform: translateX(20px) rotate(5deg); }
        100% { transform: translateX(0); }
    }
    
    @keyframes floatMarquee3 {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }
    
    @keyframes floatMarquee4 {
        0% { transform: translate(-10px, -10px); }
        50% { transform: translate(10px, 10px); }
        100% { transform: translate(-10px, -10px); }
    }
    

    /* Hover effect to customize transparency */
    .marquee-box:hover {
        opacity: 1; /* Fully visible on hover */
    }
    
    :root {
        --marquee-opacity: 0.7;
    }
    
    .marquee-box {
        opacity: var(--marquee-opacity);
    }
    
    
    /* Floating Colors */
    .box-red { background: #ff4d4d; color: #000; }
    .box-teal { background: #1abc9c; color: #000; }
    .box-pink { background: #e91e63; color: #000; }
    .box-yellow { background: #ffeb3b; color: #000; }
    .box-green { background: #4caf50;color: #000;  }
    .box-blue { background: #2196f3; color: #000; }
    .box-orange { background: #ff9800; color: #000; }
    .box-purple { background: #9c27b0; color: #000; }
    .box-gray { background: #607d8b; color: #000; }
    
    
    /* Other Styling */
    .terms {
        margin: 20px 0;
        font-size: 15px; /* Increased font size for better readability */
        text-align: center; /* Center align the text */
        font-family: 'Arial', sans-serif; /* Add a clean and modern font */
    }
    
    .terms a {
        color: #007bff;
        text-decoration: none;
        font-weight: bold; /* Make the link stand out more */
        transition: color 0.3s ease, text-decoration 0.3s ease;
    }
    
    .terms a:hover {
        text-decoration: underline;
        color: #0056b3; /* Darker shade of blue on hover */
    }
    
    .terms p {
        margin-top: 10px;
        font-size: 14px;
        color: #555; /* Slightly lighter color for the text */
        line-height: 1.5;
    }
    
    
    #connectMetaMask {
        background: #007bff;
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-size: 16px;
        cursor: not-allowed;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
    
/* Enabled state */
button#connectMetaMask:enabled {
    cursor: pointer;
    background: #17924a; /* Initial green color */
}

/* Sparkling hover effect for enabled state */
button#connectMetaMask:enabled:hover {
    transform: scale(1.1);
    background: #28a745; /* Green color */
    animation: sparkle 1s infinite, warningPulse 1.5s infinite; /* Apply sparkle and warning pulse animation */
    box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1, 0 0 15px #28a745, 0 0 20px #80e3a1, 0 0 25px #28a745; /* Glowing sparkle effect */
}

/* Define the green warning pulse animation */
@keyframes warningPulse {
    0% {
        box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1; /* Green glow */
    }
    25% {
        box-shadow: 0 0 15px #20b140, 0 0 30px #4dce78; /* Brighter green */
    }
    50% {
        box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1; /* Green glow */
    }
    75% {
        box-shadow: 0 0 15px #20b140, 0 0 30px #4dce78; /* Brighter green */
    }
    100% {
        box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1; /* Green glow */
    }
}

/* Sparkling effect animation */
@keyframes sparkle {
    0% {
        box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1, 0 0 15px #28a745, 0 0 20px #80e3a1, 0 0 25px #28a745;
    }
    50% {
        box-shadow: 0 0 5px #2cd32c, 0 0 10px #80e3a1, 0 0 15px #2cd32c, 0 0 20px #80e3a1, 0 0 25px #2cd32c;
    }
    100% {
        box-shadow: 0 0 5px #28a745, 0 0 10px #80e3a1, 0 0 15px #28a745, 0 0 20px #80e3a1, 0 0 25px #28a745;
    }
}


   

    #registerBtn {
        background-color: #000000; /* Black background */
        color: white; /* White text */
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px; /* Rounded corners */
        transition: transform 0.3s, box-shadow 0.3s; /* Smooth transitions */
        position: relative;
        overflow: hidden;
        animation: flash 1.5s infinite alternate; /* Flash animation */
    }
    
    #registerBtn:hover {
        transform: scale(1.06); /* Slightly enlarge the button on hover */
        box-shadow: 0 0 15px rgba(113, 217, 113, 0.7); /* Glowing effect */
    }
    
    #registerBtn:focus {
        outline: none; /* Remove focus outline */
    }
    
    /* Flash effect animation */
    @keyframes flash {
        0% {
            background-color: #000000; /* Black background */
            color: white; /* Normal text color */
        }
        25% {
            background-color: #830fe2; /* Light green background */
            color: black; /* Dark text color */
        }
        50% {
            background-color: #15c1d8; /* Bright green background */
            color: white; /* White text color */
        }
        75% {
            background-color: #2651dd; /* Light green background */
            color: black; /* Dark text color */
        }
        100% {
            background-color: #000000; /* Black background */
            color: white; /* Normal text color */
        }
    }
    
     @media (max-width: 768px) {
        #registerBtn {
            font-size: 14px; /* Adjust font size for smaller screens */
            padding: 8px 16px; /* Adjust padding */
            width: 100%; /* Make button width 100% on small screens */
        }
    }
    
    @media (max-width: 480px) {
        #registerBtn {
            font-size: 12px; /* Further reduce font size on very small screens */
            padding: 6px 12px; /* Further reduce padding */
        }
    }
    
     #registerFlash {
        background: linear-gradient(45deg, #000000, #1a1a1a);
        color: white;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 5px;
        transition: transform 0.3s, box-shadow 0.3s;
        position: relative;
        overflow: hidden;
        animation: cosmicGlow 3s infinite ease-in-out;
        box-sizing: border-box;
        display: inline-block;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }
    
    #registerFlash:hover {
        transform: scale(1.06);
        box-shadow: 0 0 25px rgba(0, 255, 255, 0.9), 0 0 15px rgba(255, 0, 255, 0.7);
    }
    
    #registerFlash:focus {
        outline: none;
    }
    
    @keyframes cosmicGlow {
        0% {
            background: linear-gradient(45deg, #000000, #1a1a1a);
            box-shadow: 0 0 5px rgba(0, 255, 0, 0.4), 0 0 10px rgba(0, 255, 255, 0.3);
            transform: scale(1) rotate(0deg);
        }
        25% {
            background: linear-gradient(135deg, #00ff00, #ff00ff);
            box-shadow: 0 0 15px rgba(0, 255, 0, 0.8), 0 0 20px rgba(255, 0, 255, 0.6);
            transform: scale(1.03) rotate(2deg);
        }
        50% {
            background: linear-gradient(225deg, #ff00ff, #00ccff);
            box-shadow: 0 0 30px rgba(255, 0, 255, 1), 0 0 25px rgba(0, 255, 255, 0.9);
            transform: scale(1.06) rotate(0deg);
        }
        75% {
            background: linear-gradient(315deg, #00ccff, #00ff00);
            box-shadow: 0 0 15px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 0, 0.6);
            transform: scale(1.03) rotate(-2deg);
        }
        100% {
            background: linear-gradient(45deg, #000000, #1a1a1a);
            box-shadow: 0 0 5px rgba(0, 255, 0, 0.4), 0 0 10px rgba(0, 255, 255, 0.3);
            transform: scale(1) rotate(0deg);
        }
    }
    
    @media (max-width: 768px) {
        #registerFlash {
            font-size: 14px;
            padding: 8px 16px;
            max-width: 200px;
            min-width: 150px;
            width: auto;
            margin: 0 auto;
        }
    }
    
    @media (max-width: 480px) {
        #registerFlash {
            font-size: 12px;
            padding: 6px 12px;
            max-width: 180px;
            min-width: 120px;
        }
    }
    