{% extends "base.html" %}

{% block title %}Stegasoo - Secure Steganography{% endblock %}

{% block content %}
<style>
.home-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: all 0.15s ease;
}
.home-icon i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.9));
    transition: all 0.15s ease;
}
.home-icon span {
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(-8px);
    transition: all 0.15s ease;
}
.home-icon:hover i {
    color: #e5d058;
    transform: translateY(-3px);
    filter: drop-shadow(0 5px 4px rgba(0, 0, 0, 0.8));
}
.home-icon:hover span {
    opacity: 1;
    transform: translateY(0);
    color: #e5d058;
}
</style>

<div class="d-flex flex-column align-items-center justify-content-center" style="min-height: 70vh;">

    <!-- Hero -->
    <div class="d-flex align-items-center mb-4" style="gap: 8px;">
        <div class="position-relative">
            <img src="{{ url_for('static', filename='logo.svg') }}" alt="Stegasoo" height="80">
            <span class="badge bg-success position-absolute" style="bottom: 1px; left: -6px; font-size: 0.6rem;">v4.1</span>
        </div>
        <div>
            <h1 class="display-5 fw-bold title-gold mb-0">Stegasoo</h1>
            <p class="text-muted mb-0 small" style="margin-top: 3px; padding-left: 3px; font-size: 0.85rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);">Hide encrypted data in plain sight.</p>
        </div>
    </div>

    <!-- Action Icons -->
    <div class="d-flex gap-4">
        <a href="/encode" class="home-icon"><i class="bi bi-lock-fill"></i><span>Encode</span></a>
        <a href="/decode" class="home-icon"><i class="bi bi-unlock-fill"></i><span>Decode</span></a>
        <a href="/generate" class="home-icon"><i class="bi bi-key-fill"></i><span>Generate</span></a>
    </div>

</div>
{% endblock %}
