/* CROC MADNESS STYLES - The craziest CSS you'll ever see! */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #2d5016, #4a7c59, #6b8e23, #8fbc8f, #90ee90, #98fb98, #9acd32, #adff2f);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

header {
    text-align: center;
    margin-bottom: 40px;
    animation: bounce 2s infinite;
}

.header-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.1);
}

.header-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #1a3009;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid #4a7c59;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

.title {
    font-size: 4rem;
    font-weight: 700;
    color: #2d5016;
    text-shadow: 4px 4px 0px #1a3009, 8px 8px 0px #4a7c59;
    margin-bottom: 10px;
    animation: titlePulse 3s ease-in-out infinite;
}

@keyframes titlePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: #1a3009;
    font-weight: 300;
    animation: subtitleFloat 4s ease-in-out infinite;
}

@keyframes subtitleFloat {

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

    50% {
        transform: translateY(-10px);
    }
}

.croc-container {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.croc-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {

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

    25% {
        transform: translateY(-10px) rotate(1deg);
    }

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

    75% {
        transform: translateY(-15px) rotate(0.5deg);
    }
}

.croc-image:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.floating-text {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    font-weight: 700;
    color: #2d5016;
    text-shadow: 2px 2px 0px #1a3009;
    opacity: 0;
    animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {

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

    50% {
        opacity: 1;
        transform: translateY(-20px);
    }
}

.fun-facts {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: factsSlide 1s ease-out;
}

.meme-explanation {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: factsSlide 1s ease-out;
    border: 3px solid #ff6b6b;
}

.meme-explanation h2 {
    color: #2f3542;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
}

.meme-explanation p {
    font-size: 1.1rem;
    color: #2f3542;
    line-height: 1.6;
    margin-bottom: 15px;
}

@keyframes factsSlide {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.fun-facts h2 {
    color: #1a3009;
    margin-bottom: 20px;
    text-align: center;
    font-size: 2rem;
}

.fun-facts ul {
    list-style: none;
    padding: 0;
}

.fun-facts li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #1a3009;
    border-bottom: 2px dashed #4a7c59;
    animation: listItemSlide 0.5s ease-out;
    animation-fill-mode: both;
}

.fun-facts li:nth-child(1) {
    animation-delay: 0.1s;
}

.fun-facts li:nth-child(2) {
    animation-delay: 0.2s;
}

.fun-facts li:nth-child(3) {
    animation-delay: 0.3s;
}

.fun-facts li:nth-child(4) {
    animation-delay: 0.4s;
}

.fun-facts li:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes listItemSlide {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.interactive-section {
    text-align: center;
    margin: 40px 0;
}

.chomp-button,
.dance-button,
.reset-button {
    padding: 15px 30px;
    margin: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.chomp-button {
    background: linear-gradient(45deg, #ff4757, #ff6b6b);
    color: white;
}

.dance-button {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
    color: white;
}

.reset-button {
    background: linear-gradient(45deg, #96ceb4, #feca57);
    color: #2f3542;
}

.chomp-button:hover,
.dance-button:hover,
.reset-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.chomp-button:active,
.dance-button:active,
.reset-button:active {
    transform: translateY(0px) scale(0.95);
}

.quote-section {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
    border-left: 10px solid #4a7c59;
    animation: quoteSlide 1s ease-out;
}

@keyframes quoteSlide {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.quote-section blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #1a3009;
    margin-bottom: 10px;
}

.quote-section cite {
    color: #4a7c59;
    font-weight: 700;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    margin: 10px;
    min-width: 150px;
    animation: statBounce 2s ease-in-out infinite;
}

.stat:nth-child(1) {
    animation-delay: 0s;
}

.stat:nth-child(2) {
    animation-delay: 0.5s;
}

.stat:nth-child(3) {
    animation-delay: 1s;
}

@keyframes statBounce {

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

    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #1a3009;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer {
    text-align: center;
    margin-top: 60px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    animation: footerSlide 1s ease-out;
}

@keyframes footerSlide {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.disclaimer {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #4a7c59;
    border-radius: 50%;
    animation: particleFloat 3s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* CRAZY ANIMATIONS FOR INTERACTIONS */
.chomp-animation {
    animation: chomp 0.5s ease-in-out;
}

@keyframes chomp {
    0% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(-5deg);
    }

    50% {
        transform: scale(1.2) rotate(5deg);
    }

    75% {
        transform: scale(1.1) rotate(-3deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
    }
}

.dance-animation {
    animation: dance 1s ease-in-out infinite;
}

@keyframes dance {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(-10deg) scale(1.05);
    }

    50% {
        transform: rotate(10deg) scale(1.1);
    }

    75% {
        transform: rotate(-5deg) scale(1.05);
    }
}

.spin-animation {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    .chomp-button,
    .dance-button,
    .reset-button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .container {
        padding: 10px;
    }
}