/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'VT323', monospace;
    background: black;
    color: white;
    position: relative;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Background */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Header Styles */
.glitch-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo img {
    width: 200px;
    height: auto;
    animation: glitchEffect 1.5s infinite;
}

.cta-button.follow-x {
    padding: 10px 25px;
    background-color: #00acee;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 172, 238, 0.8);
    font-size: 18px;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button.follow-x:hover {
    background-color: #33bfff;
    transform: scale(1.1);
}

/* Floating Text Styles */
.floating-text-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.floating-text, .floating-text-large {
    position: absolute;
    font-weight: bold;
    opacity: 0.9;
    color: var(--random-color, #ff33cc);
}

/* Large Texts */
.floating-text-large {
    font-size: 72px;
    animation: floatLarge 12s infinite ease-in-out;
}

/* Small Texts */
.floating-text {
    font-size: 18px;
    animation: floatSmall 15s infinite ease-in-out;
}

/* Animations for Floating Text */
@keyframes floatLarge {
    0% { transform: translate(0, 0); }
    25% { transform: translate(30vw, -20vh); }
    50% { transform: translate(-50vw, 40vh); }
    75% { transform: translate(50vw, -30vh); }
    100% { transform: translate(0, 0); }
}

@keyframes floatSmall {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-30vw, 25vh); }
    50% { transform: translate(40vw, -40vh); }
    75% { transform: translate(-25vw, 35vh); }
    100% { transform: translate(0, 0); }
}

/* Floating Error Bar */
.floating-error {
    position: absolute;
    top: 25%;
    left: 25%;
    animation: floatError 12s infinite ease-in-out;
    z-index: 100;
    pointer-events: none;
}

.floating-error img {
    width: 240px;
    height: auto;
    display: block;
}

/* Floating Error Animation */
@keyframes floatError {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-10vw, -10vh); }
    50% { transform: translate(15vw, 15vh); }
    75% { transform: translate(-20vw, 5vh); }
    100% { transform: translate(0, 0); }
}

/* About Section Styles */
.project-details {
    text-align: center;
    padding: 50px 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    margin: 50px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    border: 2px solid #ff33cc;
}

.project-details h2 {
    font-size: 42px;
    color: #ff33cc;
    text-shadow: 0 0 10px #ff33cc;
    margin-bottom: 20px;
}

.project-details p {
    font-size: 18px;
    line-height: 1.8;
    color: #00ffcc;
    margin-bottom: 30px;
}

.project-details .cta-button {
    padding: 12px 30px;
    font-size: 18px;
    background-color: #ff33cc;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 51, 204, 0.8);
    transition: transform 0.3s;
}

.project-details .cta-button:hover {
    transform: scale(1.1);
    background-color: #ff66ff;
}
/* Quantum Lore Section */
.quantum-lore {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    margin: 50px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    border: 2px solid #ff33cc;
}

.quantum-lore h2 {
    font-size: 42px;
    color: #ff33cc;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ff33cc;
}

.quantum-lore p {
    font-size: 18px;
    line-height: 1.8;
    color: #00ffcc;
}

.quantum-lore .glitchy-text {
    font-size: 20px;
    color: #ffcc00;
    animation: glitchEffect 1.5s infinite;
    text-shadow: 0 0 5px #ffcc00, 0 0 10px #ffcc00, 0 0 15px #ffcc00;
}

/* Liquidity Pools Section */
.liquidity-pools {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    margin: 50px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    border: 2px solid #ff33cc;
}

.liquidity-pools h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #ff33cc;
    text-shadow: 0 0 10px #ff33cc;
}

.pools-container {
    display: flex;
    flex-direction: column; /* Stacks the pools vertically */
    gap: 20px;
    margin-top: 20px;
}

.pool-item {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    color: white;
    text-align: left; /* Aligns text to the left */
    display: flex;
    align-items: center;
    gap: 20px;
}

.pool-item img {
    width: 100px; /* Resize pool images */
    height: auto;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.pool-item h3 {
    font-size: 24px;
    color: #00ffcc;
}

.pool-item p {
    font-size: 16px;
    line-height: 1.8;
}

/* Community Rewards Snapshots */
.community-rewards {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    margin: 50px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    border: 2px solid #ff33cc;
}

.community-rewards h2 {
    font-size: 42px;
    color: #ff33cc;
    text-shadow: 0 0 10px #ff33cc;
    margin-bottom: 20px;
}

.snapshots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.snapshot-card {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 51, 204, 0.3);
    color: white;
    text-align: center;
}

.snapshot-card h3 {
    font-size: 24px;
    color: #ffcc00;
    margin-bottom: 10px;
}

.snapshot-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #00ffcc;
}

.snapshot-card .countdown {
    font-size: 20px;
    color: #ff33cc;
    text-shadow: 0 0 5px #ff33cc, 0 0 10px #ff33cc;
    margin-top: 10px;
}

/* Floating Error Bar */
.floating-error {
    position: absolute;
    top: 25%;
    left: 25%;
    animation: floatError 12s infinite ease-in-out;
    z-index: 100; /* Ensures it floats above all content */
    pointer-events: none;
}

.floating-error img {
    width: 240px; /* Adjust size of the image */
    height: auto; /* Maintain aspect ratio */
    display: block;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 51, 204, 0.5);
}

/* Floating Animation for Error */
@keyframes floatError {
    0% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10vw, -10vh);
    }
    50% {
        transform: translate(15vw, 15vh);
    }
    75% {
        transform: translate(-20vw, 5vh);
    }
    100% {
        transform: translate(0, 0);
    }
}

/* Call-to-Action Section */
.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    margin: 50px auto;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(255, 51, 204, 0.5);
    border: 2px solid #ff33cc;
}

.cta-section a {
    padding: 12px 30px;
    font-size: 18px;
    background-color: #ff33cc;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 51, 204, 0.8);
    transition: transform 0.3s, background-color 0.3s;
}

.cta-section a:hover {
    transform: scale(1.1);
    background-color: #ff66ff;
}
/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .glitch-header {
        flex-direction: column;
        text-align: center;
    }

    .logo img {
        width: 150px;
    }

    .cta-button.follow-x {
        margin-top: 10px;
    }

    .project-details, .quantum-lore, .liquidity-pools, .community-rewards, .cta-section {
        padding: 40px 10px;
        max-width: 100%;
    }

    .pools-container {
        flex-direction: column;
        gap: 15px;
    }

    .snapshot-card {
        padding: 15px;
    }

    .floating-error img {
        width: 180px;
    }
}

/* Countdown Timer Styles */
.countdown {
    font-size: 24px;
    font-weight: bold;
    color: #ff33cc;
    text-shadow: 0 0 5px #ff33cc, 0 0 10px #ff33cc, 0 0 15px #ff33cc;
    margin-top: 20px;
    animation: pulse 1.5s infinite;
}

/* Pulse Animation for Countdown */
@keyframes pulse {
    0% {
        text-shadow: 0 0 5px #ff33cc, 0 0 10px #ff33cc, 0 0 15px #ff33cc;
    }
    50% {
        text-shadow: 0 0 10px #ff66ff, 0 0 20px #ff66ff, 0 0 30px #ff66ff;
    }
    100% {
        text-shadow: 0 0 5px #ff33cc, 0 0 10px #ff33cc, 0 0 15px #ff33cc;
    }
}

/* Centered Header Styling */
.glitch-header {
    display: flex;
    flex-direction: column; /* Stack logo and button vertically */
    align-items: center; /* Horizontally center both elements */
    justify-content: center; /* Vertically center both elements */
    padding: 20px; /* Add spacing around the header */
    position: relative;
    z-index: 10; /* Ensure it stays above other elements */
}

/* Logo Styling */
.center-logo {
    width: 250px; /* Adjust logo size */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 10px; /* Add spacing below the logo */
}

/* Centered Twitter Button */
.center-button {
    padding: 10px 25px;
    background-color: #00acee;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 172, 238, 0.8);
    font-size: 18px;
    transition: transform 0.3s, background-color 0.3s;
}

.center-button:hover {
    background-color: #33bfff;
    transform: scale(1.1);
    text-shadow: 0 0 10px #ffffff;
}

/* Optional: Adjust for smaller screens */
@media (max-width: 768px) {
    .center-logo {
        width: 200px;
    }

    .center-button {
        font-size: 16px;
        padding: 8px 20px;
    }
}

/* Image Styling for Layering Behind Neon Boxes */
.image-left {
    position: absolute;
    top: 50%; /* Adjust to align with the "About" section */
    left: 0; /* Left side */
    transform: translateY(-50%); /* Center vertically with the box */
    width: 200px; /* Adjust size */
    height: auto;
    z-index: -1; /* Ensure it stays behind the neon box */
    opacity: 0.7; /* Slight transparency for a subtle effect */
}

.image-right {
    position: absolute;
    top: 70%; /* Adjust to align with the "Quantum Lore" section */
    right: 0; /* Right side */
    transform: translateY(-50%);
    width: 200px; /* Adjust size */
    height: auto;
    z-index: -1;
    opacity: 0.7; /* Slight transparency */
}

/* Contract Address Styling */
.contract-address {
    text-align: center;
    font-size: 18px;
    margin-top: 10px;
    color: white;
    font-family: 'VT323', monospace;
    text-shadow: 0 0 10px #ff33cc, 0 0 20px #ff33cc, 0 0 30px #ff33cc;
}

.contract-address .ca-highlight {
    font-size: 20px;
    color: #ff33cc;
    font-weight: bold;
    text-shadow: 0 0 15px #ff33cc, 0 0 30px #ff66ff, 0 0 45px #ff99ff;
}

