/* ============================================
   The Cat Project — homepage
   ============================================ */

:root {
    --orange: #FF7A45;
    --yellow: #FFB347;
    --purple: #7C5CFF;
    --mint: #4EE0B0;
    --pink: #FF7EB6;
    --cream: #FFF8F0;
    --ink: #2A2035;
    --ink-soft: #5B4F6B;
    --white: #FFFFFF;
    --shadow: 0 12px 32px rgba(124, 92, 255, 0.14);
    --shadow-s: 0 4px 12px rgba(124, 92, 255, 0.08);
}

* {
    box-sizing: border-box;
}

body.home {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    /* zachte crème-gradatie met vrolijke accenten */
    background-image: radial-gradient(circle at 8% 12%, rgba(255,179,71,0.18) 0%, transparent 30%), radial-gradient(circle at 92% 8%, rgba(124,92,255,0.15) 0%, transparent 30%), radial-gradient(circle at 50% 100%, rgba(78,224,176,0.12) 0%, transparent 35%);
    background-attachment: fixed;
}

a {
    color: var(--purple);
}

/* ============ NAVBAR ============ */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 32px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,248,240,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124,92,255,0.08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 18px;
    color: var(--ink);
    text-decoration: none;
}

.logo-cat {
    font-size: 24px;
    display: inline-block;
    animation: bob 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 600;
}

    .nav-links a {
        color: var(--ink-soft);
        text-decoration: none;
        transition: color .2s;
    }

        .nav-links a:hover {
            color: var(--ink);
        }

.nav-stream-link {
    color: var(--purple) !important;
}

.btn-donate-small {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    color: #fff !important;
    border-radius: 999px;
    font-size: 13px;
    box-shadow: var(--shadow-s);
    transition: transform .15s, box-shadow .15s;
}

    .btn-donate-small:hover {
        transform: translateY(-2px) rotate(-2deg);
        box-shadow: 0 8px 20px rgba(255,126,182,0.4);
    }

/* ============ HERO ============ */
.hero {
    padding: 60px 32px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid rgba(124,92,255,0.15);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    box-shadow: var(--shadow-s);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.05;
    font-weight: 900;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.hl {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wiggle {
    display: inline-block;
    margin-left: 8px;
    animation: wiggle 2.2s ease-in-out infinite;
}

.hero-sub {
    font-size: 18px;
    color: var(--ink-soft);
    margin: 0 0 28px;
    max-width: 520px;
}

/* ============ HERO UPLOAD ============ */
.hero-upload {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}

.hero-upload-zone {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border: 2px dashed rgba(124,92,255,0.3);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .1s;
    position: relative;
    overflow: hidden;
    min-height: 88px;
}

    .hero-upload-zone:hover {
        border-color: var(--orange);
        background: rgba(255,179,71,0.05);
    }

    .hero-upload-zone.dragover {
        border-color: var(--orange);
        background: rgba(255,179,71,0.10);
        transform: scale(1.01);
    }

    .hero-upload-zone.has-preview {
        border-style: solid;
        border-color: var(--mint);
        padding: 12px;
    }

        .hero-upload-zone.has-preview .hero-upload-icon,
        .hero-upload-zone.has-preview .hero-upload-label {
            display: none;
        }

.hero-upload-icon {
    font-size: 32px;
}

.hero-upload-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 14px;
    color: var(--ink-soft);
}

    .hero-upload-label strong {
        color: var(--ink);
        font-size: 15px;
    }

#hero-file {
    display: none;
}

#hero-preview {
    max-width: 100%;
    max-height: 180px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

#hero-submit {
    width: 100%;
    margin-top: 14px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,122,69,0.3);
    transition: transform .15s, box-shadow .15s, opacity .2s;
}

    #hero-submit:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(255,122,69,0.4);
    }

    #hero-submit:disabled {
        opacity: 0.35;
        cursor: not-allowed;
        box-shadow: none;
    }

.hero-status {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    min-height: 20px;
    color: var(--mint);
}

    .hero-status.error {
        color: #e34b4b;
    }

.hero-note {
    font-size: 13px;
    color: var(--ink-soft);
    margin: 0;
    opacity: 0.75;
}

/* ============ HERO ART (kat-animatie) ============ */
.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.floating-cat {
    position: relative;
    width: 260px;
    height: 260px;
    animation: float 4s ease-in-out infinite;
}

.cat-face {
    position: absolute;
    inset: 40px;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(255,122,69,0.35), inset -10px -20px 40px rgba(0,0,0,0.08);
}

.cat-ear {
    position: absolute;
    top: -18px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--orange), var(--pink));
    border-radius: 8px 8px 0 0;
    transform-origin: bottom center;
}

    .cat-ear.left {
        left: 18px;
        transform: rotate(-18deg);
        animation: earLeft 3s ease-in-out infinite;
    }

    .cat-ear.right {
        right: 18px;
        transform: rotate(18deg);
        animation: earRight 3s ease-in-out infinite;
    }

.cat-eye {
    position: absolute;
    top: 90px;
    width: 26px;
    height: 26px;
    background: var(--ink);
    border-radius: 50%;
    animation: blink 4.5s infinite;
}

    .cat-eye.left {
        left: 55px;
    }

    .cat-eye.right {
        right: 55px;
    }

.cat-nose {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 10px;
    background: var(--pink);
    border-radius: 0 0 50% 50%;
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
}

.cat-whisker {
    position: absolute;
    height: 2px;
    background: rgba(42,32,53,0.35);
    border-radius: 2px;
    top: 128px;
}

    .cat-whisker.w1 {
        left: -30px;
        width: 55px;
        transform: rotate(-8deg);
    }

    .cat-whisker.w2 {
        left: -35px;
        width: 60px;
        top: 135px;
    }

    .cat-whisker.w3 {
        left: -30px;
        width: 55px;
        top: 142px;
        transform: rotate(8deg);
    }

    .cat-whisker.w1, .cat-whisker.w2, .cat-whisker.w3 {
        animation: whisker 4s ease-in-out infinite;
    }

.cat-tail {
    position: absolute;
    right: -30px;
    bottom: 20px;
    width: 90px;
    height: 30px;
    border: 12px solid var(--orange);
    border-top: none;
    border-left: none;
    border-radius: 0 0 90px 0;
    transform-origin: left center;
    animation: tail 2.5s ease-in-out infinite;
}

.purr-bubble {
    position: absolute;
    padding: 6px 12px;
    background: #fff;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--purple);
    box-shadow: var(--shadow-s);
    opacity: 0;
    animation: purrFloat 6s ease-in-out infinite;
}

    .purr-bubble.b1 {
        top: 10px;
        left: -20px;
        animation-delay: 0s;
    }

    .purr-bubble.b2 {
        top: 60px;
        right: -40px;
        animation-delay: 2s;
    }

    .purr-bubble.b3 {
        bottom: 30px;
        left: -30px;
        animation-delay: 4s;
    }

.paw-prints {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

    .paw-prints span {
        position: absolute;
        font-size: 22px;
        opacity: 0.25;
        animation: pawBounce 5s ease-in-out infinite;
    }

        .paw-prints span:nth-child(1) {
            top: 15%;
            left: 8%;
            animation-delay: 0s;
        }

        .paw-prints span:nth-child(2) {
            top: 75%;
            right: 8%;
            animation-delay: 1.5s;
        }

        .paw-prints span:nth-child(3) {
            bottom: 10%;
            left: 20%;
            animation-delay: 3s;
        }

/* ============ ANIMATIES ============ */
@keyframes bob {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-3px) rotate(-3deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0);
    }

    25% {
        transform: rotate(-8deg);
    }

    75% {
        transform: rotate(8deg);
    }
}

@keyframes earLeft {
    0%, 100% {
        transform: rotate(-18deg);
    }

    50% {
        transform: rotate(-24deg);
    }
}

@keyframes earRight {
    0%, 100% {
        transform: rotate(18deg);
    }

    50% {
        transform: rotate(24deg);
    }
}

@keyframes blink {
    0%, 92%, 100% {
        transform: scaleY(1);
    }

    95% {
        transform: scaleY(0.1);
    }
}

@keyframes whisker {
    0%, 100% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(-14deg);
    }
}

@keyframes tail {
    0%, 100% {
        transform: rotate(0);
    }

    50% {
        transform: rotate(-15deg);
    }
}

@keyframes purrFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }

    20% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    40% {
        opacity: 1;
        transform: translateY(-5px) scale(1);
    }

    60% {
        opacity: 0;
        transform: translateY(-15px) scale(0.9);
    }
}

@keyframes pawBounce {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-10px) rotate(8deg);
    }
}

/* ============ STATS STRIP ============ */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 32px;
}

.stat {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-s);
    border: 1px solid rgba(124,92,255,0.08);
    transition: transform .2s;
}

    .stat:hover {
        transform: translateY(-3px) rotate(-1deg);
    }

.stat-value {
    font-size: 30px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 12px;
    color: var(--ink-soft);
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ SECTIES ============ */
.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 32px;
}

.section-alt {
    background: linear-gradient(180deg, transparent, rgba(124,92,255,0.04), transparent);
    max-width: none;
}

    .section-alt > * {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    text-align: center;
}

.section-sub {
    text-align: center;
    color: var(--ink-soft);
    font-size: 17px;
    margin: 0 0 44px;
}

/* ============ STEPS ============ */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.step {
    background: #fff;
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow-s);
    border: 1px solid rgba(124,92,255,0.08);
    transition: transform .25s, box-shadow .25s;
}

    .step:hover {
        transform: translateY(-4px) rotate(-1deg);
        box-shadow: var(--shadow);
    }

.step-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
}

.step p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 15px;
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    color: var(--ink-soft);
    margin: 0 0 16px;
}

.about-text strong {
    color: var(--ink);
}

.about-signature {
    font-style: italic;
    color: var(--purple) !important;
    margin-top: 24px !important;
}

.about-art {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    color: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 12px 30px rgba(255,179,71,0.3);
    transform: rotate(-2deg);
    transition: transform .2s;
}

    .about-card:hover {
        transform: rotate(0) translateY(-4px);
    }

.about-card-2 {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    transform: rotate(2deg);
    box-shadow: 0 12px 30px rgba(124,92,255,0.3);
}

.about-card-emoji {
    font-size: 36px;
    margin-bottom: 8px;
}

.about-card-title {
    font-weight: 800;
    font-size: 18px;
}

.about-card-sub {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ============ STREAM CTA ============ */
.section-stream {
    padding-top: 0;
}

.stream-cta {
    background: linear-gradient(135deg, #2A2035, #4B3563);
    border-radius: 24px;
    padding: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    color: #fff;
    box-shadow: 0 20px 60px rgba(42,32,53,0.3);
    position: relative;
    overflow: hidden;
}

    .stream-cta::before {
        content: '📺';
        position: absolute;
        font-size: 180px;
        opacity: 0.05;
        right: -20px;
        top: -20px;
        transform: rotate(-15deg);
        pointer-events: none; /* ← DE FIX */
    }

    .stream-cta > * {
        position: relative;
        z-index: 1;
    }

.stream-cta-text h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 900;
}

.stream-cta-text p {
    margin: 0;
    color: rgba(255,255,255,0.75);
    max-width: 460px;
    font-size: 15px;
}

.btn-stream {
    display: inline-block;
    padding: 14px 26px;
    background: linear-gradient(135deg, var(--mint), var(--purple));
    color: #fff;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 8px 24px rgba(78,224,176,0.3);
}

    .btn-stream:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 12px 32px rgba(78,224,176,0.5);
    }

/* ============ DONEER ============ */
.section-donate {
    padding-top: 40px;
}

.donate-card {
    background: #fff;
    border-radius: 28px;
    padding: 56px 40px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid rgba(255,126,182,0.15);
    position: relative;
    overflow: hidden;
}

    .donate-card::before {
        content: '';
        position: absolute;
        inset: -50%;
        background: radial-gradient(circle, rgba(255,126,182,0.08) 0%, transparent 60%);
        animation: slowSpin 20s linear infinite;
        pointer-events: none;
    }

.donate-cat {
    font-size: 64px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 8px;
}

.donate-card h2 {
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.donate-card > p {
    color: var(--ink-soft);
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 16px;
    position: relative;
}

.btn-donate {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--pink), var(--orange));
    color: #fff;
    border-radius: 999px;
    font-weight: 900;
    font-size: 17px;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(255,126,182,0.4);
    transition: transform .2s, box-shadow .2s;
    position: relative;
}

    .btn-donate:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 16px 40px rgba(255,126,182,0.6);
    }

.donate-small {
    margin-top: 24px !important;
    font-size: 13px !important;
    opacity: 0.7;
}

@keyframes slowSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ============ FOOTER ============ */
.footer {
    background: #2A2035;
    color: #B8AEC5;
    padding: 40px 32px 24px;
    margin-top: 60px;
    font-size: 14px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 32px;
    align-items: center;
}

.footer a {
    color: var(--yellow);
    text-decoration: none;
}

    .footer a:hover {
        text-decoration: underline;
    }

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: #6E6480;
    text-align: right;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .nav {
        padding: 14px 20px;
    }

    .nav-links a:not(.btn-donate-small) {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 300px;
        order: -1;
    }

    .floating-cat {
        transform: scale(0.8);
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .section {
        padding: 50px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .stream-cta {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-copy {
        text-align: center;
    }
}

/* ============ FOOTER & SOCIALS ============ */
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
    justify-content: center;
}

    .footer-socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        background: #3a2b47;
        border-radius: 50%;
        transition: transform 0.2s, background 0.2s;
    }

        .footer-socials a:hover {
            transform: translateY(-3px);
            background: var(--pink);
        }

    .footer-socials svg {
        width: 20px;
        height: 20px;
        fill: #fff;
    }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    font-weight: 600;
}