/*
 * 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;
}

.home-business-card {
    margin-bottom: 40px;
    text-align: center;
}

.home-business-card iframe {
    display: block;
    width: 100%;
}

.home-business-card > a {
    display: inline-block;
    margin-top: 8px;
    color: inherit;
    font-size: 0.85rem;
    text-underline-offset: 3px;
}

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 {
    gap: 1rem;
    border: 2px dashed #000;
    padding: 1rem;
    margin: 2rem auto;
    background: #fff;
    font-family: monospace;
    max-width: 1000px;
}

.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;*/
/*}*/

.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 div {
    flex: 0 1 200px;
}

.screenshot-brutalist img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    display: block;
    object-fit: contain;
    image-rendering: auto; /* or 'crisp-edges' if you're using PNGs */
}

.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;
}

.project-icon-placeholder {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px dashed #000;
    flex-shrink: 0;
    font-weight: bold;
}

.myo-project-shots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.project-screenshot {
    margin: 0;
    min-width: 0;
}

.project-screenshot:first-child {
    grid-column: 1 / -1;
}

.project-screenshot img {
    display: block;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border: 2px solid #000;
}

.project-screenshot figcaption {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 500px) {
    .myo-project-shots { grid-template-columns: 1fr; }
}

.available-on {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem ;
}

.sneak-peek-title {
    text-align: center;
}


.links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: transform 0.2s;
}

.links a:hover {
    transform: translateY(-2px);
}

.links img {
    display: block;
    filter: grayscale(100%);
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 2px solid #000;
    margin-top: 60px;
    padding-top: 20px;
    text-align: center;
}

footer .cta-button {
    display: inline-block;
    padding: 8px 16px;
    margin: 10px 0;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
    font-family: monospace;
    text-transform: lowercase;
    transition: background-color 0.2s;
}

footer .cta-button:hover {
    background-color: #000;
    color: #fff;
}

footer p {
    margin: 10px 0 0 0;
    font-family: monospace;
    font-size: 0.9rem;
}

.tech-stack-title {
    margin-top: 2rem;
    text-align: center;
    font-size: 1rem;
}

.tech-stack-subtitle{
    text-align: center;
    font-size: 0.75rem;
    margin-top: 1rem;
}

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

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: monospace;
    font-size: 0.75rem;
    color: #000;
    gap: 0.5rem;
}

.tech-item img {
    height: 28px;
    width: 28px;
    filter: grayscale(100%) contrast(120%);
}


.nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.nav-links a {
    font-family: monospace, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    color: black;
    background: white;
}

.nav-links a:hover {
    background: black;
    color: white;
    cursor: pointer;
}

.nav-links a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.business-card-home {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.business-card-home .nav-links {
    flex-shrink: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 24px 12px;
    gap: 8px 16px;
}

.business-card-home .business-card-stage {
    position: relative;
    flex: 1;
    width: 100%;
    max-width: none;
    min-height: 300px;
    padding: 0;
}

.business-card-home .home-business-card {
    position: absolute;
    inset: 0;
    margin: 0;
    container-type: size;
}

.business-card-home .home-business-card iframe {
    height: 100%;
}

.business-card-label {
    /* Follow the embed's centered 7:4 card, including its 30px viewing margin. */
    position: absolute;
    top: calc(50% - min(230px, 50cqh - 30px, 28.5714cqw - 17.1429px) - 48px);
    left: calc(50% - min(370px, 50cqw - 50px));
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    pointer-events: none;
}

.business-card-label svg {
    flex-shrink: 0;
}

.about-me {
    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;
}
