﻿/* ===== Moat VTT page (scoped to #content) ===== */

/* Hero */
#content .moat-hero {
    --overlay: rgba(0,0,0,.55);
    position: relative;
}

    #content .moat-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, var(--overlay), rgba(0,0,0,.35));
        z-index: 0;
    }

    #content .moat-hero .container {
        position: relative;
        z-index: 1;
    }

#content .moat-head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

#content .moat-title {
    margin: 0 0 .35rem;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
}

#content .moat-sub {
    margin: .25rem 0 .9rem;
    opacity: .9;
    font-size: 1.1rem;
}

#content .moat-actions {
    display: flex;
    gap: .6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: .5rem 0 .4rem;
}

#content .moat-note {
    opacity: .8;
    font-size: .95rem;
}

/* Buttons */
#content .moat-btn, #content .moat-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .02em;
    text-decoration: none;
    color: #fff;
    border: 1px solid transparent;
    cursor: pointer;
    transition: filter .15s ease, transform .1s ease, box-shadow .15s ease;
}

#content .moat-btn {
    background: linear-gradient(180deg, #2bd081, #21a366);
    box-shadow: 0 10px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.16);
}

    #content .moat-btn:hover {
        filter: brightness(1.06);
        transform: translateY(-1px);
    }

    #content .moat-btn:active {
        filter: brightness(.98);
        transform: none;
    }

#content .moat-btn-lg {
    padding: 1rem 1.4rem;
    font-size: 1.05rem;
}

#content .moat-btn-ghost {
    background: transparent;
    border-color: rgba(255,255,255,.22);
}

    #content .moat-btn-ghost:hover {
        background: rgba(255,255,255,.07);
    }

/* Features grid */
#content .moat-features .moat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    #content .moat-features .moat-grid {
        grid-template-columns: 1fr;
    }
}

#content .moat-card {
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

    #content .moat-card h3 {
        margin: .1rem 0 .4rem;
        font-size: 1.15rem;
    }

/* How it works */
#content .moat-how h2,
#content .moat-faq h2 {
    margin: 0 0 .7rem;
}

#content .moat-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    gap: .6rem;
}

    #content .moat-steps li {
        background: rgba(0,0,0,.32);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 12px;
        padding: .8rem .9rem;
        box-shadow: 0 14px 32px rgba(0,0,0,.32);
    }

        #content .moat-steps li::before {
            counter-increment: step;
            content: counter(step);
            display: inline-grid;
            place-items: center;
            width: 26px;
            height: 26px;
            margin-right: .5rem;
            border-radius: 50%;
            font-weight: 800;
            color: #fff;
            background: linear-gradient(180deg, #2bd081, #21a366);
        }

#content .moat-cta-row {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}

/* FAQ */
#content .moat-faq .moat-faq-item {
    background: rgba(0,0,0,.32);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: .7rem .9rem;
    box-shadow: 0 14px 32px rgba(0,0,0,.32);
    margin: .5rem 0;
}

#content .moat-faq summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

    #content .moat-faq summary::-webkit-details-marker {
        display: none;
    }

#content .moat-faq p {
    margin: .5rem 0 0;
    opacity: .95;
}

/* Bottom CTA */
#content .moat-bottom-cta .moat-bottom-card {
    text-align: center;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    padding: 1.2rem 1rem;
    box-shadow: 0 18px 40px rgba(0,0,0,.42);
    max-width: 860px;
    margin: 0 auto;
}

    #content .moat-bottom-cta .moat-bottom-card h2 {
        margin: .2rem 0 .35rem;
    }

    #content .moat-bottom-cta .moat-bottom-card p {
        margin: 0 0 .7rem;
        opacity: .9;
    }

/* Little spacing tune so sections breathe */
#content .moat-features .container,
#content .moat-how .container,
#content .moat-faq .container,
#content .moat-bottom-cta .container {
    max-width: 1100px;
}




#content .moat-title {
    margin: 0 0 .35rem;
}

#content .moat-logo {
    display: inline-block;
    width: clamp(180px, 40vw, 420px);
    height: auto;
    vertical-align: middle;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,.45));
}
