---
import BaseLayout from "../layouts/BaseLayout.astro";
---

<BaseLayout
    title="About — Hidden Den Cafe"
    description="About Latte — IT wizard, self-hosting advocate, privacy enthusiast, and the person behind Hidden Den Cafe."
>
    <div class="matrix-bg" aria-hidden="true"></div>

    <main class="main">
        <div class="container">
            <header class="header fade-in">
                <h1 class="title">About</h1>
                <div class="divider">══════════════════════════════</div>
            </header>

            <section class="section fade-in">
                <h2>The Den</h2>
                <p class="desc">
                    Hidden Den Cafe is my little corner of the internet — self-hosted,
                    self-maintained, and free from corporate nonsense. No trackers, no ads,
                    no data harvesting. Just a cozy space that I built and control.
                </p>
            </section>

            <section class="section fade-in">
                <h2>Who I Am</h2>
                <p class="desc">
                    I'm <span class="highlight">Latte</span> — an IT wizard with a homelab,
                    a love for privacy, and a deep distrust of companies that treat your data
                    like their product. I believe in owning your infrastructure, running your
                    own services, and keeping things under your own roof.
                </p>
                <p class="desc">
                    I'm a gay furry developer who builds things because I want them to exist —
                    not because some product manager told me to. My stack leans toward Python
                    and self-hosted tooling, but I'm always exploring new things.
                </p>
            </section>

            <section class="section fade-in">
                <h2>The Homelab</h2>
                <p class="desc">
                    Most of what runs here lives on my own hardware — Gitea for code, Docker
                    for deployment, nginx for serving. Where physical infra doesn't make sense,
                    I rent VPS capacity from OVH and Play.hosting. For work, the Microsoft 365
                    ecosystem does what it needs to do.
                </p>
                <p class="desc">
                    The goal isn't purity — it's control. Keep data minimal, choose providers
                    you understand, avoid surveillance-adjacent platforms. Self-host what you
                    can; rent infra where it's practical; use what you need without pretending
                    you don't.
                </p>
            </section>

            <section class="section fade-in">
                <h2>Ethos</h2>
                <ul class="values">
                    <li><span class="value-key">privacy:</span> Your data is yours. Period.</li>
                    <li><span class="value-key">self-hosting:</span> If you can run it yourself, you should.</li>
                    <li><span class="value-key">open source:</span> Knowledge should be shared.</li>
                    <li><span class="value-key">small web:</span> The internet is better when it's personal.</li>
                </ul>
            </section>

            <footer class="footer fade-in">
                <p>Made with love by Latte</p>
            </footer>
        </div>
    </main>
</BaseLayout>

<style>
    .matrix-bg {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.03;
        background:
            linear-gradient(var(--color-accent) 1px, transparent 1px),
            linear-gradient(90deg, var(--color-accent) 1px, transparent 1px);
        background-size: 50px 50px;
        animation: grid-move 20s linear infinite;
    }

    @keyframes grid-move {
        0% { transform: translate(0, 0); }
        100% { transform: translate(50px, 50px); }
    }

    .main {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: var(--space-lg) var(--space-md);
        padding-top: calc(var(--space-lg) + 3rem);
    }

    .container {
        max-width: 700px;
        width: 100%;
        background: var(--color-glass);
        backdrop-filter: blur(10px);
        border: 1px solid var(--color-surface);
        border-radius: 8px;
        padding: var(--space-xl);
    }

    .header {
        text-align: center;
        margin-bottom: var(--space-lg);
    }

    .title {
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .divider {
        color: var(--color-surface);
        text-align: center;
        font-size: 0.75rem;
        margin: var(--space-md) 0;
        user-select: none;
    }

    .section {
        margin: var(--space-lg) 0;
    }

    .section h2 {
        font-size: 1rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: var(--space-sm);
        color: var(--color-accent);
    }

    .desc {
        color: var(--color-text-dim);
        line-height: 1.7;
        margin-bottom: var(--space-sm);
    }

    .desc:last-child {
        margin-bottom: 0;
    }

    .highlight {
        color: var(--color-accent-bright);
        font-weight: 700;
    }

    .values {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: var(--space-xs);
    }

    .values li {
        color: var(--color-text-dim);
        line-height: 1.6;
    }

    .value-key {
        color: var(--color-accent);
        font-weight: 600;
    }

    .footer {
        margin-top: var(--space-xl);
        text-align: center;
    }

    .footer p {
        color: var(--color-text-dim);
        font-size: 0.85rem;
    }

    .fade-in {
        animation: fadeIn 0.6s ease-out forwards;
        opacity: 0;
    }

    .fade-in:nth-child(1) { animation-delay: 0.1s; }
    .fade-in:nth-child(2) { animation-delay: 0.2s; }
    .fade-in:nth-child(3) { animation-delay: 0.3s; }
    .fade-in:nth-child(4) { animation-delay: 0.4s; }
    .fade-in:nth-child(5) { animation-delay: 0.5s; }
    .fade-in:nth-child(6) { animation-delay: 0.6s; }
    .fade-in:nth-child(7) { animation-delay: 0.7s; }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @media (max-width: 600px) {
        .container {
            padding: var(--space-md);
        }

        .title {
            font-size: 1.5rem;
        }

        .divider {
            font-size: 0.6rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .matrix-bg {
            animation: none;
        }

        .fade-in {
            animation: none;
            opacity: 1;
        }
    }
</style>
