/* ========================================
   JPEG Forever LLC — Shared Styles
   ======================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #000;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}
body.privacy-page {
    color: #ccc;
    line-height: 1.7;
}

/* ========================================
   Navigation
   ======================================== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #222;
}
.nav-logo img {
    height: 40px;
}
.nav-links {
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
}
.nav-links a:hover {
    color: #fff;
}

/* ========================================
   Footer
   ======================================== */
footer {
    border-top: 1px solid #222;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}
footer a {
    color: #888;
    text-decoration: none;
}
footer a:hover {
    color: #fff;
}
.footer-links {
    margin-top: 0.5rem;
}
.footer-links a {
    margin: 0 0.5rem;
}

/* ========================================
   Shared Components
   ======================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2a2a2a;
    border: 2px solid #fff;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn:hover {
    background: #3a3a3a;
}
.page-header {
    text-align: center;
    padding: 4rem 2rem;
    border-bottom: 1px solid #222;
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e11d24;
    margin-bottom: 1rem;
}
.page-header p {
    color: #888;
    font-size: 1.1rem;
}

/* ========================================
   Home — Hero
   ======================================== */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    border-bottom: 1px solid #222;
}
.hero-logo {
    max-width: 380px;
    margin-bottom: 1rem;
}
.hero .tagline {
    font-size: 1.5rem;
    color: #aaa;
    margin-bottom: 2rem;
}
.hero .description {
    font-size: 1.1rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ========================================
   Home — Sections
   ======================================== */
.section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.section h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section p {
    color: #999;
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}
.feature h3 {
    color: #e11d24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.feature p {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
}
.about-section {
    background: #0a0a0a;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.contact-section {
    text-align: center;
}

/* ========================================
   Home — News
   ======================================== */
.news-section {
    border-bottom: 1px solid #222;
}
.news-items {
    max-width: 700px;
    margin: 0 auto;
}
.news-item {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}
.news-date {
    display: inline-block;
    font-size: 0.85rem;
    color: #e11d24;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.news-item h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.news-item p {
    color: #999;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    text-align: left;
}
.news-item p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Games — Featured Games
   ======================================== */
.section-title {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}
.featured-game {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4rem;
}
.featured-game-art {
    width: 100%;
    display: block;
}
.featured-game-info {
    padding: 2rem;
}
.featured-game-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.featured-game-info .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #1a1a1a;
    border: 1px solid #22c55e;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #22c55e;
    margin-bottom: 1rem;
}
.featured-game-info p {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.featured-game-info .platforms {
    color: #666;
    font-size: 0.9rem;
}
.featured-game-info .platforms a {
    color: #e11d24;
    text-decoration: none;
}
.featured-game-info .platforms a:hover {
    text-decoration: underline;
}

/* Games — Screenshots */
.screenshots {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #222;
}
.screenshots h4 {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.screenshot-grid img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Games — Project Cards */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.project {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}
.project-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e11d24, #ff4444);
    border-radius: 20px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.project h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.project .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1rem;
}
.project .status.coming-soon {
    border-color: #e11d24;
    color: #e11d24;
}
.project p {
    color: #888;
    font-size: 0.95rem;
}
.platforms {
    margin-top: 1rem;
    color: #666;
    font-size: 0.85rem;
}
.cta {
    text-align: center;
    padding: 3rem;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 12px;
}
.cta h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.cta p {
    color: #888;
    margin-bottom: 1.5rem;
}

/* Games — Footer extra margin */
.games-footer {
    margin-top: 4rem;
}

/* ========================================
   About — Content
   ======================================== */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.content h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}
.content h2:first-child {
    margin-top: 0;
}
.content p {
    color: #999;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.value {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 1.5rem;
}
.value h3 {
    color: #e11d24;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.value p {
    color: #888;
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================
   Privacy — Overrides
   ======================================== */
.privacy-page .page-header p {
    color: #666;
    font-size: 1rem;
}
.privacy-page .content {
    padding: 3rem 2rem;
}
.privacy-page .content h3 {
    color: #e11d24;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.privacy-page .content p {
    color: #999;
    margin-bottom: 1rem;
}
.privacy-page .content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #999;
}
.privacy-page .content li {
    margin-bottom: 0.5rem;
}
.privacy-page .content a {
    color: #e11d24;
}
.privacy-page .content strong {
    color: #ccc;
}
.note {
    background: #1a1a1a;
    border-left: 3px solid #e11d24;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    color: #999;
}
.privacy-page footer {
    margin-top: 2rem;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 600px) {
    .nav-logo {
        display: none;
    }
    .nav-links {
        width: 100%;
        justify-content: center;
    }
}
