{% extends "ewoooc_base.html" %}

{% block title %}品牌資產庫 - EwoooC{% endblock %}

{% block extra_css %}
    <style>
        .brand-assets-page {
            color: var(--momo-text-primary);
            font-family: var(--momo-font-family);
        }

        .brand-assets-page .container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .brand-assets-page h1 {
            margin-bottom: 24px;
            color: var(--momo-text-primary);
            font-family: var(--momo-font-display);
            font-size: var(--momo-text-headline);
            font-weight: 800;
            letter-spacing: 0;
        }

        .brand-assets-page .section {
            background: var(--momo-bg-surface);
            border: 1px solid var(--momo-border-light);
            border-radius: var(--momo-radius-md);
            padding: 24px;
            margin-bottom: 24px;
            box-shadow: none;
        }

        .brand-assets-page .section-title {
            color: var(--momo-text-primary);
            font-family: var(--momo-font-display);
            font-size: var(--momo-text-title);
            font-weight: 800;
            margin-bottom: 20px;
            border-bottom: 1px solid var(--momo-border-light);
            padding-bottom: 10px;
        }

        .brand-assets-page .asset-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 24px;
            align-items: end;
        }

        .brand-assets-page .asset-item {
            text-align: center;
            min-width: 0;
        }

        .brand-assets-page .preview-box {
            background: var(--momo-bg-elevated);
            border: 1px solid var(--momo-border-light);
            padding: 20px;
            border-radius: var(--momo-radius-md);
            margin-bottom: 15px;
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            /* 棋盤格背景以顯示透明度 */
            background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%);
            background-size: 20px 20px;
            background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
        }

        .brand-assets-page .preview-box img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .brand-assets-page .format-links a {
            display: inline-block;
            margin: 5px;
            text-decoration: none;
            color: var(--momo-page-accent-dark);
            font-size: 0.9rem;
            border: 1px solid var(--momo-page-accent-line);
            padding: 4px 8px;
            border-radius: var(--momo-radius-sm);
            transition: all 0.2s;
        }

        .brand-assets-page .format-links a:hover {
            background: var(--momo-page-accent);
            color: var(--momo-page-inverse);
        }
    </style>
{% endblock %}

{% block content %}
<div class="brand-assets-page">
    <div class="container">
        <h1>WOOO TECH 品牌資產庫</h1>

        <div class="section">
            <h2 class="section-title">1. 主品牌標誌 (Main Logo)</h2>
            <div class="asset-grid">
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo_navbar.svg" alt="Main Logo">
                    </div>
                    <div>
                        <strong>SVG (向量)</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo_navbar.svg" download>下載 SVG</a>
                        </div>
                    </div>
                </div>
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo.png" alt="Main Logo PNG">
                    </div>
                    <div>
                        <strong>PNG</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo.png" download>下載 PNG</a>
                        </div>
                    </div>
                </div>
                <!-- 其他格式僅提供下載 -->
                <div class="asset-item">
                    <div style="padding: 20px;">
                        <strong>其他格式</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo.png" download>標準 PNG</a>
                            <a href="/static/images/logo_circle.svg" download>圓標 SVG</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="section">
            <h2 class="section-title">2. 玻璃質感版 (Glass Version)</h2>
            <div class="asset-grid">
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo_v4_glass.png" alt="Glass Logo">
                    </div>
                    <div>
                        <strong>PNG</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo_v4_glass.png" download>下載 PNG</a>
                        </div>
                    </div>
                </div>
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo.png" alt="Standard Logo">
                    </div>
                    <div>
                        <strong>標準 PNG</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo.png" download>下載 PNG</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="section">
            <h2 class="section-title">3. 能量流動版 (Gradient Version)</h2>
            <div class="asset-grid">
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo_v4_gradient.png" alt="Gradient Logo">
                    </div>
                    <div>
                        <strong>PNG</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo_v4_gradient.png" download>下載 PNG</a>
                        </div>
                    </div>
                </div>
                <div class="asset-item">
                    <div class="preview-box">
                        <img src="/static/images/logo_circle.svg" alt="Circle Logo">
                    </div>
                    <div>
                        <strong>圓標 SVG</strong><br>
                        <div class="format-links">
                            <a href="/static/images/logo_circle.svg" download>下載 SVG</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
