/* ============================================
   Outn't App — Retro CRT Aesthetic
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323&display=swap');

.outnt-app
{
    position: relative;
    min-height: 100%;
    background-color: #050520;
    background-image:
        radial-gradient(circle, #0a0a40 1px, transparent 1px);
    background-size: 4px 4px;
    color: #00ff41;
    font-family: 'VT323', monospace;
    padding: 32px 24px;
    overflow: hidden;
}

/* CRT Scanlines Overlay */
.outnt-app::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

/* Screen Glow Vignette */
.outnt-app::after
{
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
    z-index: 2;
}

.outnt-content
{
    position: relative;
    z-index: 3;
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Title */
.outnt-title
{
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: #00ff41;
    text-shadow:
        0 0 10px rgba(0, 255, 65, 0.8),
        0 0 20px rgba(0, 255, 65, 0.4),
        0 0 40px rgba(0, 255, 65, 0.2);
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.outnt-tagline
{
    font-family: 'Press Start 2P', cursive;
    font-size: 0.625rem;
    color: #008f11;
    text-align: center;
    letter-spacing: 0.15em;
}

/* Description Box */
.outnt-description
{
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #00ff41;
    border-radius: 0;
    padding: 20px;
    width: 100%;
    box-shadow:
        0 0 10px rgba(0, 255, 65, 0.2),
        inset 0 0 20px rgba(0, 255, 65, 0.05);
}

.outnt-description p
{
    font-size: 1.25rem;
    line-height: 1.6;
    color: #00ff41;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.outnt-app a
{
    color: #00ff41;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
    transition: text-shadow 0.2s ease;
}

.outnt-app a:hover
{
    text-shadow:
        0 0 10px rgba(0, 255, 65, 0.8),
        0 0 20px rgba(0, 255, 65, 0.4);
    text-decoration: underline;
}

/* Screenshots */
.outnt-screenshots
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.outnt-screenshot
{
    aspect-ratio: 16 / 12;
    background-color: #0a0a30;
    border: 2px solid #008f11;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.outnt-screenshot img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.outnt-screenshot::before
{
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.3) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 1;
}

.outnt-screenshot span
{
    position: relative;
    z-index: 1;
}

/* itch.io Embed */
.outnt-embed
{
    margin-top: 8px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.outnt-embed iframe
{
    max-width: 100%;
    border: 2px solid #00ff41;
    box-shadow:
        0 0 10px rgba(0, 255, 65, 0.3),
        0 0 30px rgba(0, 255, 65, 0.1);
}

/* Footer */
.outnt-footer
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.outnt-developer
{
    font-size: 1rem;
    color: #008f11;
}

.outnt-version
{
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    color: #008f11;
    letter-spacing: 0.1em;
}

/* Flicker Animation */
@keyframes outnt-flicker
{
    0%, 100% { opacity: 1; }
    50% { opacity: 0.98; }
    52% { opacity: 0.95; }
    53% { opacity: 1; }
}

.outnt-app::before
{
    animation: outnt-flicker 4s infinite;
}

/* Responsive */
@media (max-width: 640px)
{
    .outnt-title
    {
        font-size: 1.75rem;
    }

    .outnt-screenshots
    {
        grid-template-columns: 1fr;
    }

    .outnt-description p
    {
        font-size: 1rem;
    }
}
