@import url('https://fonts.googleapis.com/css2?family=Chewy&family=Nunito:wght@400;700;900&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    background-color: #9ce391;
    /* Beige Bonk Style */
    color: #431407;
    overflow-x: hidden;
}

h1,
h2,
h3,
.comic-font {
    font-family: 'Chewy', cursive;
    letter-spacing: 0.05em;
}

/* Bonk Pattern Background */
.bg-bonk {
    background-image: radial-gradient(#D93219 2px, transparent 2px), radial-gradient(#D93219 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-color: #FCE9A8;
}

/* Animations */
@keyframes bonk-bounce {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.animate-bonk {
    animation: bonk-bounce 2s infinite ease-in-out;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 4px solid #FACC14;
    /* Yellow border */
    box-shadow: 8px 8px 0px #C21807;
    /* Hard shadow for comic effect */
    transition: all 0.2s ease;
    border-radius: 1.5rem;
}

.glass-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px #C21807;
    background: rgba(200, 200, 200, 0.1);
}

.btn-bonk {
    background-color: #ffffff;
    color: #D93219;
    border: 4px solid #D93219;
    box-shadow: 6px 6px 0px #C21807;
    transition: all 0.1s;
    font-family: 'Chewy', cursive;
    text-transform: uppercase;
}

.btn-bonk:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #C21807;
}

.btn-bonk:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #C21807;
}

/* Chart container */
#dexscreener-embed {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
}

@media(min-width:1400px) {
    #dexscreener-embed {
        padding-bottom: 65%;
    }
}

#dexscreener-embed iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: 0;
    border-radius: 1rem;
    border: 4px solid #D93219;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Bouncy easing */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Canvas touch handling */
#editorCanvas {
    touch-action: none;
}