body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    /* overflow: hidden;  Remove this line to allow scrolling */
}

/* Pop-up Style */
.popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(74, 144, 226, 0.9);  /* Blue color with transparency */
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1000;
}

.popup.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Make popup mobile-friendly */
@media (max-width: 600px) {
    .popup {
        font-size: 14px;
        padding: 8px 16px;
        bottom: 15px;
    }
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 20px;
}

/* Isolated Button Styling */
.nav-button {
    display: inline-block;
    background: linear-gradient(45deg, #800080, #ff00ff); /* Gradient colors */
    background-size: 200% 200%; /* Double size for smooth animation */
    color: white;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: transform 0.2s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    animation: gradient-shift 5s ease infinite; /* Gradient animation */
}

.nav-button:hover {
    transform: translateY(-2px); /* Lift effect on hover */
}

.nav-button:active {
    transform: translateY(0); /* Reset effect on click */
}

/* Keyframe animation for the gradient */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Mobile-Friendly Adjustments for the Button */
@media (max-width: 600px) {
    .nav-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}



#particles-js {
    position: fixed; /* Fixed positioning to cover the full viewport */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Set to viewport height */
    z-index: -1; /* Ensures particles stay behind all other content */
    pointer-events: none;
}

/* Password Overlay */
#password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#password-container {
    text-align: center;
    background-color: #333;
    padding: 30px;
    border-radius: 8px;
    color: #fff;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #121212;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #4a90e2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

h1 {
    text-align: center;
    padding: 20px;
    font-weight: 600;
    color: #4a90e2;  /* Blue accent for title */
}

.search-container {
    display: flex;
    justify-content: center;
    margin: 20px;
    z-index: 1; /* Ensure it appears above particles */
    position: relative;
}


.search-input {
    padding: 10px;
    width: 90%;
    max-width: 400px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
      background-color: #333;
      color: white;
      border-color: #555;
}
.search-container.ai-style-change-2 {
    border-color: #555;
}
.tracker-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    margin: 0 auto;
    width: 90%;
    max-width: 600px; /* Restrict max width for better readability */
    z-index: 1; /* Place above particles */
    position: relative;
    padding-bottom: 20px; /* Add bottom padding to prevent clipping */
}

.country-header {
    font-size: 24px;
    font-weight: 600;
    color: #4a90e2;
    margin-top: 30px;
}

.flag-icon {
    width: 40px; /* Adjust the size as needed */
    height: 40px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image covers the container */
    margin-right: 10px; /* Adds some space between the image and text */
}


/* Tracker card style */
.tracker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1e1e1e;  /* Slightly lighter dark background */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    padding: 15px;
    margin: 10px 0;
    width: 90%;
    max-width: 400px;
    transition: transform 0.2s ease;
}

.tracker:hover {
    transform: translateY(-5px);
}

/* License plate image style */
.tracker img {
    width: 80px;
    height: auto;
    border-radius: 5px;
    margin-right: 20px;
}

/* Button and counter styles */
.tracker button {
    background-color: #4a90e2;  /* Blue accent */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tracker button:hover {
    background-color: #357abd;  /* Darker blue on hover */
}

.counter {
    font-weight: 600;
    font-size: 18px;
    color: #e0e0e0;  /* Light gray for text */
    margin: 0 15px;
    width: 30px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .tracker img {
        width: 60px;
    }
    .tracker {
        padding: 10px;
    }
    .counter {
        font-size: 16px;
    }
    .tracker button {
        padding: 8px;
        font-size: 14px;
    }
}

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


.leaderboard {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}

.leaderboard-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    font-weight: 600;
    color: #e0e0e0;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.liquid-progress {
    position: relative;
    width: 100%; /* Full width of the parent container */
    max-width: 800px; /* Maximum width for large screens, like desktops */
    height: 50px; /* Base height for desktops */
    background-color: #333;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 0px;
    margin-bottom: 0px;
}

.progress-bar {
  align-items: center;
  flex-direction: column;
}
.progress-bar label {
  display: block;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Full width of the container */
    height: 0; /* Start with height of 0, adjusted dynamically by JavaScript */
    background-color: #4a90e2;
    border-radius: 15px;
    overflow: hidden;
    transition: height 0.3s ease; /* Smooth transition for height changes */
}


.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%; /* Double the width for a smooth wave effect */
    height: 200%; /* Double the height for continuous wave motion */
    background: rgba(255, 255, 255, 0.3); /* Lighter overlay color for the wave */
    border-radius: 50%;
    opacity: 0.5;
}

.wave1 {
    animation: wave1-animation 6s infinite ease-in-out; /* Smooth wave animation */
}

.wave2 {
    animation: wave2-animation 7s infinite ease-in-out; /* Second wave with a different speed */
}

@keyframes wave1-animation {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5%);
    }
    50% {
        transform: translateY(-10%);
    }
    75% {
        transform: translateY(-5%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes wave2-animation {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(3%);
    }
    50% {
        transform: translateY(6%);
    }
    75% {
        transform: translateY(3%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design for Medium Screens (Tablets and Small Laptops) */
@media (max-width: 1024px) {
    .liquid-progress {
        max-width: 600px; /* Reduce max width for tablets and small laptops */
        height: 40px; /* Reduce height */
    }
}

/* Responsive Design for Small Screens (Mobile Devices) */
@media (max-width: 768px) {
    .liquid-progress {
        max-width: 100%; /* Take full width on mobile */
        height: 35px; /* Further reduce height for smaller screens */
    }
}

/* Responsive Design for Very Small Screens (Phones) */
@media (max-width: 480px) {
    .liquid-progress {
        height: 30px; /* Minimum height for very small screens */
    }
}
