:root {
    --primary-color: #34C759;
    --primary-dark: #2da84e;
    --text-color: #202124;
    --secondary-text: #5f6368;
    --bg-color: #ffffff;
    --border-color: #dadce0;
    --font-family: 'Roboto', sans-serif;
    --heading-font: 'Google Sans', 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Styles (Mobile / Play Store Look) */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
}

/* Header */
.app-header {
    margin-bottom: 24px;
}

.header-content {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.app-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
}

.app-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-title {
    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--text-color);
}

.dev-name {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 4px;
}

.dev-name:hover {
    text-decoration: underline;
}

/* Stats */
.app-stats {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 16px;
}

.stat-value {
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--secondary-text);
}

/* Action Button */
.action-container {
    width: 100%;
    margin-bottom: 30px;
}

.install-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.25px;
    transition: background-color 0.2s, transform 0.1s;
}

.install-btn:hover {
    background-color: var(--primary-dark);
}

.install-btn:active {
    transform: scale(0.98);
}

/* Screenshots */
.screenshots-section {
    margin-bottom: 32px;
}

.screenshots-container {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.screenshot {
    height: 300px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3);
    scroll-snap-align: start;
    cursor: pointer;
    transition: opacity 0.2s;
}

.screenshot:hover {
    opacity: 0.9;
}

/* About */
.about-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 500;
}

.description-content {
    font-size: 14px;
    color: var(--secondary-text);
    line-height: 1.6;
}

.description-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 8px;
}

.description-content li {
    margin-bottom: 8px;
}

.description-content h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 500;
}

/* Tags */
.tags-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.tag {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 14px;
    color: var(--secondary-text);
    background-color: #fff;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    animation: zoom 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* =========================================
   DESKTOP LANDING PAGE TRANSFORM
   ========================================= */
@media (min-width: 900px) {
    body {
        background-color: #f8f9fa;
    }

    .container {
        max-width: 100%;
        padding: 0;
        background: none;
    }

    /* Hero Section / Header */
    .app-header {
        background-color: #fff;
        padding: 80px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        margin-bottom: 0;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .app-logo {
        width: 140px;
        height: 140px;
        border-radius: 24px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .app-info {
        align-items: center;
    }

    .app-title {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 12px;
    }

    .dev-name {
        font-size: 18px;
        color: var(--primary-color);
    }

    .app-stats {
        margin-bottom: 32px;
        justify-content: center;
    }

    .stat-item {
        align-items: center;
        padding-right: 0;
    }

    .stat-value {
        font-size: 16px;
    }

    .action-container {
        width: auto;
        margin-bottom: 0;
    }

    .install-btn {
        width: auto;
        padding: 16px 64px;
        font-size: 18px;
        display: inline-block;
        box-shadow: 0 4px 6px rgba(52, 199, 89, 0.3);
    }

    .install-btn:hover {
        box-shadow: 0 6px 8px rgba(52, 199, 89, 0.4);
        transform: translateY(-1px);
    }

    /* Screenshots as a "Showcase" Strip */
    .screenshots-section {
        background-color: #f8f9fa;
        padding: 60px 0;
        margin-bottom: 0;
        border-bottom: 1px solid #eee;
    }

    .screenshots-scroll-wrapper {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .screenshots-container {
        display: flex;
        /* Ensure display flex */
        justify-content: flex-start;
        /* Corrected from center */
        gap: 24px;
        padding-bottom: 20px;
        overflow-x: auto;
    }

    .screenshot {
        height: 500px;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .screenshot:hover {
        transform: translateY(-5px);
        opacity: 1;
    }

    /* About Section FIXED Layout */
    .about-section {
        background-color: #fff;
        padding: 80px 20px;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-header {
        max-width: 800px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .section-header h2 {
        font-size: 32px;
        margin-bottom: 0;
        text-align: left;
    }

    .description-content {
        max-width: 800px;
        width: 100%;
        font-size: 18px;
        line-height: 1.8;
    }

    .description-content h3 {
        font-size: 24px;
        margin-top: 40px;
    }

    /* Tags */
    .tags-section {
        background-color: #fff;
        padding: 0 20px 80px 20px;
        justify-content: center;
        margin-bottom: 0;
    }
}