/* Keyframes for animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes flashing {
    0%, 100% { background-color: #1a8f35; }
    50% { background-color: #2eb44a; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes redFlash {
    0%, 100% { background-color: #ff0000; }
    50% { background-color: #cc0000; }
}

/* Ensure the html and body take up the full height of the page */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Apply Comic Neue globally */
}

/* Body and Background */
body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    background-color: #000;
    animation: flashing 1.5s infinite alternate;
    color: #fff;
    overflow-x: hidden;
    /* Prevent zooming on the entire page */
    transform: none !important;
}

/* Container styles */
.container {
    padding: 5%;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Heading styles */
h1 {
    font-size: clamp(2rem, 8vw, 4rem); /* Responsive font size */
    text-shadow: 5px 5px 0px #000;
    animation: pulse 1s infinite alternate, bounce 1.5s infinite;
    color: yellow;
    margin: 20px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Meme image styles */
.meme-image {
    max-width: 100%;
    width: 300px;
    height: auto;
    animation: spin 4s linear infinite;
}

/* Paragraph styles */
p {
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    margin: 20px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Chaos text styles */
.chaos-text {
    font-size: clamp(1.2rem, 5vw, 1.8rem); /* Responsive font size */
    font-weight: bold;
    color: yellow;
    text-shadow: 3px 3px 0px #000;
    animation: pulse 0.5s infinite alternate;
    margin: 20px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Button styles */
.buy-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    background-color: #000;
    color: #00FF00;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 0px #fff;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    margin: 10px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

.buy-button:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 5px 5px 0px #000;
}

/* DO NOT PRESS button styles */
.do-not-press-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    background-color: #ff0000;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 0px #fff;
    cursor: pointer;
    border: none;
    animation: redFlash 1s infinite alternate;
    margin: 10px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

.do-not-press-button:hover {
    background-color: #cc0000;
}

/* PRESS NOW button styles */
.press-now-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: bold;
    background-color: #06ac00;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 5px 5px 0px #fff;
    cursor: pointer;
    border: none;
    animation:  flashing 1s infinite alternate; /* Changed from redFlash to flashing */
    margin: 10px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

.press-now-button:hover {
    background-color: #c4ffb8;
}

/* Game container styles */
.game-container {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 20px;
    border: 2px solid #fff;
    overflow: hidden;
    background-color: #000;
}

/* Meme game image styles */
.meme-game {
    position: absolute;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

/* Game info styles */
.game-info {
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    margin-top: 10px;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Social links styles */
.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.social-links a[href*="tiktok"] img {
    transform: scale(1.5);
}

.social-links a[href*="tiktok"] img:hover {
    transform: scale(1.7);
}

/* Footer styles */
.footer {
    margin-top: 50px;
    font-size: clamp(0.9rem, 3vw, 1.2rem); /* Responsive font size */
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Buttons container styles */
.buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Instructions styles */
.instructions {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
    border: 2px solid #1a8f35;
}

.instructions h2 {
    font-size: clamp(1.2rem, 5vw, 1.8rem); /* Responsive font size */
    color: #1a8f35;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

.instructions ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.instructions li {
    color: white;
    margin: 10px 0;
    font-size: clamp(0.9rem, 3vw, 1.1rem); /* Responsive font size */
    padding: 5px 0;
    font-family: 'Comic Neue', cursive, sans-serif !important; /* Ensure Comic Neue */
}

/* Media Queries for Mobile Optimization */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    h1 {
        font-size: clamp(1.5rem, 6vw, 3rem); /* Smaller font size for mobile */
    }

    .meme-image {
        width: 200px;
    }

    .buttons-container {
        flex-direction: column;
    }

    .buy-button, .do-not-press-button {
        width: 100%;
        font-size: clamp(0.9rem, 4vw, 1.2rem); /* Smaller font size for mobile */
    }
}
/* Center the Twitter feed */
.twitter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50vh; /* Full viewport height */
}

/* Ensure responsiveness */
.twitter-timeline {
    max-width: 100%;
}

/* Adjust for small screens */
@media (max-width: 600px) {
    .twitter-container {
        height: auto;
        padding: 20px;
    }
}
