/* General Page Styling */
body {
    margin: 0;
    padding: 1rem; /* Add padding around the edges of the page */
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
    background-color: #121212; /* Optional: Set a consistent background color */
    color: #fff; /* Ensure text is readable */
    font-family: 'Press Start 2P', cursive;
}

/* Hero Section */
header.hero {
    padding: 2rem 1rem; /* Add padding inside the hero section */
    text-align: center;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    border-radius: 8px; /* Optional: Add rounded corners */
}

header.hero .header-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 1rem;
}

header.hero .title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

header.hero .logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

header.hero h1 {
    font-size: 2.5rem;
    margin: 0;
}

header.hero p {
    font-size: 1.2rem;
    margin: 1.5rem 0; /* Add more space below the paragraph */
}

#walletInfo {
    margin-top: 2rem; /* Add space above the wallet info display */
    font-size: 1rem;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a background for better readability */
    padding: 1rem;
    border-radius: 8px;
    display: inline-block; /* Ensure it doesn't stretch across the entire width */
}

.neon-btn {
    background-color: #ff5722;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.neon-btn:hover {
    background-color: #ff9800;
    box-shadow: 0 0 10px #ff9800, 0 0 20px #ff5722;
}

/* Buy section */
section.buy {
    text-align: center;
    padding: 2rem;
    background-color: #1e1e1e;
}

section.buy ul {
    list-style: none;
    padding: 0;
}

section.buy ul li {
    margin: 0.5rem 0;
}

section.buy ul li a {
    color: #ff9800;
    text-decoration: none;
    transition: color 0.3s ease;
}

section.buy ul li a:hover {
    color: #ff5722;
}

/* Roadmap section */
section.roadmap {
    padding: 2rem;
    background-color: #2c2c2c;
}

section.roadmap h2 {
    text-align: center;
    margin-bottom: 1rem;
}

section.roadmap-content p {
    margin: 0.5rem 0;
}

/* Center the Roadmap Button */
.roadmap-content {
    text-align: center; /* Center the content inside the roadmap section */
}

/* Roadmap Details Section */
.roadmap-details {
    padding: 2rem 1rem; /* Add padding inside the roadmap details section */
    background-color: #1e1e1e;
    border-radius: 8px; /* Optional: Add rounded corners */
    margin: 1rem 0; /* Add margin between sections */
    line-height: 1.6; /* Improve readability */
}

/* Roadmap Button */
.roadmap-btn {
    display: inline-block;
    text-align: center;
    background-color: #ff5722;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none; /* Remove underline from the link */
    font-family: 'Press Start 2P', cursive; /* Match the website's themed font */
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin: 1rem auto; /* Add margin and center the button */
    display: inline-block; /* Ensure the button doesn't stretch */
}

.roadmap-btn:hover {
    background-color: #ff9800;
    box-shadow: 0 0 10px #ff9800, 0 0 20px #ff5722;
}

/* Chart section */
section.chart {
    padding: 2rem;
    background-color: #1e1e1e;
    text-align: center;
}

#dexscreener-embed iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
}

/* Trade Links Section */
.trade-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* Vertical layout */
    align-items: center; /* Center the buttons */
    gap: 1rem; /* Add spacing between buttons */
}

.trade-links li {
    display: block; /* Ensure each list item takes up its own line */
}

.trade-link {
    text-decoration: none; /* Remove underline from links */
}

.trade-btn {
    background-color: #ff5722;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: 'Press Start 2P', cursive; /* Match the website's themed font */
    width: 100%; /* Make buttons stretch to full width */
    max-width: 300px; /* Limit the maximum width of buttons */
    text-align: center; /* Center the text inside the button */
}

.trade-btn:hover {
    background-color: #ff9800;
    box-shadow: 0 0 10px #ff9800, 0 0 20px #ff5722;
}

/* Contract Address Styling */
#contract {
    word-wrap: break-word; /* Allow the text to wrap to the next line */
    word-break: break-word; /* Break long words if necessary */
    overflow-wrap: break-word; /* Ensure compatibility with modern browsers */
    display: inline-block; /* Ensure proper wrapping behavior */
    max-width: 100%; /* Prevent the text from exceeding the container width */
    font-size: 1rem; /* Default font size */
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    margin-top: 1rem; /* Add space above the footer */
    background-color: #121212;
    color: #fff;
    border-radius: 8px; /* Optional: Add rounded corners */
}

footer a {
    color: #ff9800;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff5722;
}

@keyframes glow {
    0% { box-shadow: 0 0 20px #00FFFF; }
    100% { box-shadow: 0 0 40px #FF00FF; }
}

@keyframes fall {
    0% {
        transform: translateY(-50px); /* Start above the viewport */
        opacity: 1;
    }
    100% {
        transform: translateY(100vh); /* Fall to the bottom of the viewport */
        opacity: 0; /* Fade out */
    }
}

/* Responsive Styling for Smaller Screens */
@media (max-width: 768px) {
    #contract {
        font-size: 0.9rem; /* Slightly smaller font size for better fit */
    }
}

@media (max-width: 480px) {
    #contract {
        font-size: 0.8rem; /* Further reduce font size for very small screens */
    }
}

.falling-bullet {
    position: absolute;
    top: -50px; /* Start slightly above the visible area */
    width: 30px; /* Adjust size as needed */
    height: 30px;
    animation: fall 5s linear infinite; /* Falling animation */
    z-index: 1000; /* Ensure bullets appear above other elements */
}