.project-card {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 4px 18px rgba(20, 30, 50, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

    .project-card:hover {
        box-shadow: 0 10px 28px rgba(20, 30, 50, 0.12);
        transform: translateY(-2px);
    }

.project-top-section {
    margin-bottom: 1.5rem;
}

.project-info-col {
    min-width: 0;
}

.project-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.project-heading {
    padding-top: 0.15rem;
}

.project-icon-wrap {
    flex: none;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eef3f9, #dbe6f2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(31, 59, 91, 0.08);
}

.project-icon {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

.project-heading h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1f3b5b;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.badge-coming-soon {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #8a5a00;
    background: #fff1cf;
    border: 1px solid #f0d68a;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}

.project-tagline {
    margin: 0.15rem 0 0 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.stat-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
}

.stat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f4f8fc;
    border: 1px solid #e1e9f2;
    border-radius: 12px;
    padding: 0.5rem 1.1rem;
    min-width: 84px;
}

.stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2d5b8a;
}

.stat-label {
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.project-description {
    color: #364252;
    line-height: 1.6;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.4rem 1rem;
}

    .highlight-list li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.9rem;
        color: #364252;
    }

.bi-check-circle-fill {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    flex: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232d8a4e' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm3.97-9.03a.75.75 0 0 0-1.08-1.04L6.97 9.65 5.03 7.7a.75.75 0 0 0-1.06 1.06l2.5 2.5a.75.75 0 0 0 1.08-.02l3.42-4.27z'/%3E%3C/svg%3E");
    background-size: cover;
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.btn-play {
    color: #fff;
    background-color: #2d5b8a;
    border-color: #2d5b8a;
}

    .btn-play:hover {
        background-color: #234a71;
        border-color: #234a71;
        color: #fff;
    }

.media-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: flex-start;
}

.project-video {
    width: 100%;
    max-width: 560px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(20, 30, 50, 0.15);
}

.screenshot-carousel {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 480px;
    min-width: 0;
}

.screenshot-viewport {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.25rem 0.1rem;
    scrollbar-width: none;
}

    .screenshot-viewport::-webkit-scrollbar {
        display: none;
    }

.project-screenshot {
    flex: 0 0 calc((100% - 1.5rem) / 3);
    scroll-snap-align: start;
    height: 280px;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 14px rgba(20, 30, 50, 0.1);
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.15s ease;
}

    .project-screenshot:hover {
        transform: scale(1.02);
    }

.carousel-arrow {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff;
    box-shadow: 0 2px 8px rgba(20, 30, 50, 0.15);
    cursor: pointer;
    z-index: 1;
}

    .carousel-arrow:hover {
        background: #f4f8fc;
    }

.carousel-arrow-left {
    margin-right: 0.5rem;
}

.carousel-arrow-right {
    margin-left: 0.5rem;
}

.bi-chevron-left,
.bi-chevron-right {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    background-color: #2d5b8a;
}

.bi-chevron-left {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.bi-chevron-right {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 640px) {
    .project-card {
        padding: 1.25rem;
    }

    .project-screenshot {
        height: 200px;
        flex-basis: calc((100% - 1rem) / 2);
    }
}

.about-section {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e5e9ef;
}

.about-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}

.collapsible-group {
    margin-bottom: 1rem;
}

    .collapsible-group:last-child {
        margin-bottom: 0;
    }

.collapsible-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    text-align: left;
}

    .collapsible-header .about-title {
        flex: 1 1 auto;
    }

.collapsible-chevron {
    flex: none;
    width: 0.85rem;
    height: 0.85rem;
    background-color: #6c757d;
    transition: transform 0.2s ease;
}

.collapsible-chevron-open {
    transform: rotate(180deg);
}

.bi-chevron-down {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.collapsible-body {
    padding-top: 0.5rem;
}

.about-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    background-color: #2d5b8a;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.about-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f3b5b;
    margin: 0;
}

.about-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #1f3b5b;
    margin: 1.75rem 0 0.85rem 0;
}

.about-intro-card {
    background: linear-gradient(135deg, #f4f8fc, #eef3f9);
    border: 1px solid #e1e9f2;
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
}

.about-paragraph {
    color: #364252;
    line-height: 1.65;
    margin: 0 0 0.85rem 0;
}

    .about-paragraph:last-child {
        margin-bottom: 0;
    }

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.about-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    color: #364252;
    box-shadow: 0 2px 8px rgba(20, 30, 50, 0.04);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

    .about-feature-card:hover {
        box-shadow: 0 4px 14px rgba(20, 30, 50, 0.1);
        transform: translateY(-1px);
    }

.about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e4f4ea;
    color: #2d8a4e;
    font-size: 0.75rem;
}

    .about-feature-icon.bi-check-lg::before {
        content: "\2713";
        font-weight: 700;
    }

.about-audience-banner {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #eef3f9;
    border-left: 4px solid #2d5b8a;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.75rem;
}

.about-audience-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #dbe6f2;
    color: #2d5b8a;
    font-size: 0.85rem;
}

    .about-audience-icon.bi-people-fill::before {
        content: "\1F465";
    }

.about-audience {
    color: #33475b;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.about-monetization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.about-monetization-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: #fff8ec;
    border: 1px solid #f0e0bb;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: #5a4a1f;
}

.about-monetization-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #f6e3ae;
    color: #8a5a00;
    font-size: 0.7rem;
}

    .about-monetization-icon.bi-tag-fill::before {
        content: "\1F4B0";
    }

.about-support-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #f4f8fc;
    border: 1px dashed #b9cee4;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.about-support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2d5b8a;
    color: #fff;
    font-size: 1rem;
}

    .about-support-icon.bi-headset::before {
        content: "\1F3A7";
    }

.about-support-title {
    margin: 0 0 0.15rem 0;
    font-weight: 700;
    color: #1f3b5b;
}

.about-support {
    margin: 0;
    color: #364252;
}

    .about-support a {
        color: #2d5b8a;
        font-weight: 600;
    }

@media (max-width: 640px) {
    .about-audience-banner,
    .about-support-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    padding: 2rem;
}

.lightbox-image {
    max-width: min(90vw, 900px);
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
}

    .lightbox-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.lightbox-arrow {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
}

    .lightbox-arrow:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.lightbox-arrow-left {
    margin-right: 1.5rem;
}

.lightbox-arrow-right {
    margin-left: 1.5rem;
}

.lightbox-overlay .bi-chevron-left,
.lightbox-overlay .bi-chevron-right {
    width: 1.1rem;
    height: 1.1rem;
    background-color: #fff;
}

.bi-x-lg {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath d='M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8 2.146 2.854z'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 640px) {
    .lightbox-overlay {
        padding: 1rem;
    }

    .lightbox-arrow {
        width: 38px;
        height: 38px;
    }

    .lightbox-arrow-left {
        margin-right: 0.5rem;
    }

    .lightbox-arrow-right {
        margin-left: 0.5rem;
    }
}

@media (max-width: 420px) {
    .project-screenshot {
        flex-basis: 100%;
    }
}
