/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
body {
    margin: 0;
    padding: 0;
    font-family: monospace;
    background-color: #fff;
    color: #000;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h1 {
    font-size: 3rem;
    margin: 0;
}

p {
    margin: 8px 0;
}

.apps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.app-card {
    display: block;
    border: 2px solid #000;
    padding: 20px;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.app-card:hover {
    background-color: #f5f5f5;
    cursor: pointer;
}

.app-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.app-card a {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    text-decoration: none;
    color: #fff;
    background: #000;
    border: 1px solid #000;
    font-weight: bold;
}

footer {
    border-top: 2px solid #000;
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

body {
    margin: 0;
    padding: 0;
    font-family: monospace;
    background: #fff;
    color: #000;
}

main {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    margin: 0;
}

.subtitle {
    font-style: italic;
    margin-top: 8px;
}

.back-link {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
    color: #000;
    border: 1px solid #000;
    padding: 4px 8px;
}

.hero .screenshot-placeholder {
    border: 2px dashed #000;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    background: #fafafa;
}

.description p {
    margin-top: 0;
}

.store-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    background: #000;
    border: 2px solid #000;
    font-weight: bold;
}

footer {
    border-top: 2px solid #000;
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.screenshot-placeholder img {
    display: block;
    margin: 0 auto;
    max-width: 300px;      /* Prevents it from being too wide */
    height: auto;          /* Maintain aspect ratio */
    max-height: 600px;     /* Prevents it from being too tall */
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.screenshot-brutalist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    border: 2px dashed #000;
    padding: 1rem;
    margin: 2rem auto;
    background: #fff;
    font-family: monospace;
    max-width: 1000px;
}

.screenshot-brutalist img {
    width: 200px;
    height: auto;
    border: 1px solid #000;
    image-rendering: pixelated;
    object-fit: contain;
}

.platform-banner {
    text-align: center;
    font-family: monospace;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.platform-banner p {
    margin-bottom: 0.25rem;
}

.platform-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.release-date {
    display: inline-block;
    font-family: monospace;
    font-size: 0.9rem;
    border: 2px solid #000;
    padding: 6px 12px;
    margin-top: 1rem;
    background-color: #fff;
    color: #000;
}

.release-date .label {
    font-weight: bold;
    margin-right: 0.5rem;
    text-transform: uppercase;
}

.release-date .date {
    font-style: italic;
}

.release-date {
    font-size: 1rem;
    font-family: monospace;
    margin-top: 12px;
    border-top: 1px solid #000;
    padding-top: 8px;
}

.subtitle {
    font-style: italic;
    font-size: 1rem;
    margin-top: 4px;
    color: #000;
}

ul {
    list-style: none;
    padding: 0;
    font-family: monospace;
}

ul li {
    margin-bottom: 8px;
    border-left: 2px solid #000;
    padding-left: 12px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.app-header .app-name {
    margin: 0;
}