* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column; /* stack children vertically */
    justify-content: space-between; /* push footer to bottom */
    align-items: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #f5f5f5;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

main.container {
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    margin-top: 2rem; /* optional spacing from top */
}

h1 {
    margin-bottom: 0.25rem;
    font-size: 2.2rem;
}

.subtitle {
    color: #c7c7ff;
    margin-bottom: 1.5rem;
}

.image-wrapper {
    margin: 1.5rem 0;
}

.image-wrapper img {
    max-width: 250px;
    width: 100%;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-wrapper img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.hint {
    font-size: 0.9rem;
    opacity: 0.7;
}

footer {
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.6;
}

.site-footer {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.site-footer a {
    color: #c7c7ff;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
    opacity: 1;
    transform: translateY(-1px);
    text-decoration: underline;
}

page-footer {
    display: block;
    width: 100%;
}

.site-footer {
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}


