/* ============================================
   $FAT COIN — downcoin-inspired clean style
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #2979FF;
    --yellow: #FFD600;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray: #666;
    --light-gray: #f5f5f5;
    --border: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Patrick Hand', cursive;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
    font-size: 18px;
    line-height: 1.6;
    position: relative;
}

/* ============ DIRTY BACKGROUND — real PNG stains ============ */

.bg-stain {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.18;
    user-select: none;
    -webkit-user-drag: none;
}

/* Ketchup splash — top left area */
.stain-1 {
    width: 250px;
    top: 200px;
    left: -30px;
    transform: rotate(-20deg);
    opacity: 0.15;
}

/* Coffee ring — right side hero */
.stain-2 {
    width: 160px;
    top: 500px;
    right: 40px;
    left: auto;
    opacity: 0.12;
    transform: rotate(15deg);
}

/* Mustard splash — left of about */
.stain-3 {
    width: 200px;
    top: 1100px;
    left: 20px;
    transform: rotate(30deg);
    opacity: 0.2;
}

/* Ketchup drip — right side memes */
.stain-4 {
    width: 280px;
    top: 1800px;
    right: -40px;
    left: auto;
    transform: rotate(90deg);
    opacity: 0.13;
}

/* Coffee ring — left of memes */
.stain-5 {
    width: 140px;
    top: 2200px;
    left: 60px;
    opacity: 0.1;
    transform: rotate(-10deg);
}

/* Coffee ring — right of how to buy */
.stain-6 {
    width: 120px;
    top: 2900px;
    right: 80px;
    left: auto;
    opacity: 0.13;
    transform: rotate(45deg);
}

/* Small ketchup — bottom left */
.stain-7 {
    width: 100px;
    top: 3300px;
    left: 5%;
    opacity: 0.2;
    transform: rotate(60deg);
}

/* Coffee ring — footer area */
.stain-8 {
    width: 180px;
    top: 3600px;
    right: 10%;
    left: auto;
    opacity: 0.09;
    transform: rotate(-25deg);
}

/* ============ TOP BAR ============ */
.top-bar {
    background: var(--black);
    padding: 10px 24px;
}

.top-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-token {
    font-family: 'Patrick Hand', cursive;
    font-size: 0.95rem;
    color: #aaa;
}

.token-address {
    color: var(--yellow);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    user-select: all;
}

.top-bar-link {
    font-family: 'Permanent Marker', cursive;
    font-size: 1rem;
    color: var(--blue);
    text-decoration: none;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.top-bar-link:hover {
    opacity: 0.7;
}

/* ============ HERO ============ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 40px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    max-width: 800px;
    width: 100%;
}

.hero-images {
    position: relative;
    height: 0;
}

.hero-img {
    position: absolute;
    width: 220px;
    height: auto;
    z-index: 2;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.hero-img:hover {
    transform: scale(1.08);
}

.hero-img-left {
    left: -60px;
    top: -40px;
    transform: rotate(-12deg);
}

.hero-img-left:hover {
    transform: rotate(-12deg) scale(1.08);
}

.hero-img-right {
    right: -60px;
    top: -20px;
    transform: rotate(10deg);
}

.hero-img-right:hover {
    transform: rotate(10deg) scale(1.08);
}

.hero-title {
    font-family: 'Permanent Marker', cursive;
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--blue);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: 4px;
    position: relative;
    z-index: 3;
}

.hero-tagline {
    font-size: 1.6rem;
    color: var(--black);
    position: relative;
    z-index: 3;
}

.hero-tagline i {
    color: var(--blue);
}

/* ============ MARQUEES ============ */
.marquee-section {
    border-top: 3px solid var(--border);
    border-bottom: 3px solid var(--border);
    overflow: hidden;
    padding: 14px 0;
    background: var(--white);
}

.marquee {
    display: flex;
    white-space: nowrap;
}

.marquee span {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: var(--black);
    padding-right: 20px;
    flex-shrink: 0;
}

.marquee-forward {
    animation: scrollLeft 25s linear infinite;
}

.marquee-reverse {
    animation: scrollRight 25s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* ============ ABOUT ============ */
.about {
    padding: 100px 24px;
}

.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-img {
    flex-shrink: 0;
}

.about-img img {
    width: 280px;
    height: auto;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.08));
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 24px;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-text i {
    font-style: italic;
}

/* ============ MEMES ============ */
.memes {
    padding: 80px 24px;
    background: var(--light-gray);
}

.memes-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.memes-inner h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.memes-sub {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.memes-sub i {
    color: var(--black);
}

.memes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.meme-card {
    background: var(--white);
    border: 3px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.meme-card:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 6px 6px 0px var(--border);
}

.meme-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 24px;
    background: #fafafa;
}

.meme-card p {
    padding: 16px 20px;
    font-family: 'Permanent Marker', cursive;
    font-size: 1rem;
    color: var(--black);
    border-top: 3px solid var(--border);
    text-align: center;
}

/* ============ HOW TO BUY ============ */
.how-to-buy {
    padding: 100px 24px;
}

.buy-inner {
    max-width: 700px;
    margin: 0 auto;
}

.buy-inner h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: var(--blue);
    text-align: center;
    margin-bottom: 48px;
    letter-spacing: 2px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-num {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--yellow);
    border: 3px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Permanent Marker', cursive;
    font-size: 1.8rem;
    color: var(--black);
}

.step-content h3 {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.4rem;
    color: var(--black);
    margin-bottom: 4px;
}

.step-content p {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.6;
}

.step-content i {
    color: var(--black);
    font-style: italic;
}

.buy-mascot {
    text-align: center;
    margin-top: 48px;
}

.buy-mascot img {
    width: 200px;
    height: auto;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.08));
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    75% { transform: rotate(-3deg); }
}

/* ============ FOOTER ============ */
.footer {
    border-top: 3px solid var(--border);
    padding: 60px 24px;
    text-align: center;
}

.footer-inner {
    max-width: 600px;
    margin: 0 auto;
}

.footer-inner h2 {
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 32px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-links a {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.2rem;
    color: var(--blue);
    text-decoration: none;
    font-style: italic;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.footer-disclaimer {
    font-size: 0.85rem;
    color: var(--gray);
    max-width: 480px;
    margin: 0 auto 12px;
    line-height: 1.5;
}

.footer-copy {
    font-size: 0.8rem;
    color: #aaa;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .memes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-img img {
        width: 220px;
    }

    .hero-img {
        width: 150px;
    }

    .hero-img-left {
        left: -20px;
    }

    .hero-img-right {
        right: -20px;
    }
}

@media (max-width: 600px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .token-address {
        font-size: 0.7rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-img {
        width: 110px;
    }

    .hero-img-left {
        left: 0;
        top: -20px;
    }

    .hero-img-right {
        right: 0;
        top: -10px;
    }

    .memes-grid {
        grid-template-columns: 1fr;
    }

    .about-text h2,
    .memes-inner h2,
    .buy-inner h2,
    .footer-inner h2 {
        font-size: 2.2rem;
    }

    .step {
        gap: 16px;
    }

    .step-num {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .marquee span {
        font-size: 0.9rem;
    }
}
