/* Reset and base */
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background: #fafafa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
a {
    color: #1f7a8c;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover,
a:focus {
    color: #146c8c;
    outline: none;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* HEADER */
.main-header {
    background-color: #1f7a8c;
    box-shadow: 0 4px 12px rgb(31 122 140 / 0.35);
    position: sticky;
    top: 0;
    z-index: 999;
}
.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
}
.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
}
.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}
.nav-menu li a {
    color: #e0f7fa;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-menu li a:hover,
.nav-menu li a:focus {
    background-color: #4fb3bf;
    color: #fff;
    outline: none;
}

/* HERO */
.hero-section {
    background: linear-gradient(135deg, #86e3ce 0%, #d0f0ec 100%);
    padding: 5rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #146c8c;
    margin-bottom: 0.25rem;
    text-shadow: 1px 1px 4px rgb(0 0 0 / 0.1);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: #2f4858;
    margin-bottom: 2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}
.download-buttons {
    display: inline-block;
}
.badge-link img {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.15));
    transition: transform 0.25s ease;
}
.badge-link img:hover,
.badge-link img:focus {
    transform: scale(1.05);
    outline: none;
}

/* CONTENT SECTIONS */
.content-section,
.details-section,
.features-section,
.how-to-section,
.gallery-section,
.cta-section {
    padding: 4rem 0;
}
.bg-light {
    background-color: #f8fafb;
}

/* Grid Layout for Description */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}
.text-block p {
    font-size: 1.125rem;
    color: #3a3a3a;
    margin-bottom: 1.25rem;
}
.meta-info {
    font-style: italic;
    color: #6a7a81;
    font-size: 0.9rem;
}
.image-block {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* DETAILS SECTION */
.details-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #146c8c;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 3px rgb(0 0 0 / 0.08);
}
.details-section p {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.6rem;
    font-size: 1.125rem;
    color: #404040;
    line-height: 1.65;
}

/* FEATURES SECTION - Cards style list */
.features-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #146c8c;
    margin-bottom: 3rem;
    text-align: center;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 1100px;
}
.features-grid li {
    background: linear-gradient(145deg, #d0f0ec, #b6e1dc);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgb(22 68 82 / 0.12);
    padding: 1.8rem 2.2rem;
    font-weight: 600;
    color: #1a4d59;
    font-size: 1.05rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}
.features-grid li::before {
    content: "🍓";
    position: absolute;
    font-size: 3rem;
    top: 1rem;
    right: 1rem;
    opacity: 0.1;
    user-select: none;
}
.features-grid li:hover,
.features-grid li:focus-within {
    transform: translateY(-8px);
    box-shadow: 0 14px 32px rgb(22 68 82 / 0.24);
    outline: none;
}

/* HOW TO PLAY */
.how-to-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #146c8c;
    margin-bottom: 2.5rem;
    text-align: center;
}
.steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    align-items: flex-start;
    justify-content: center;
}
.steps-list {
    flex: 1 1 320px;
    max-width: 480px;
    list-style-position: inside;
    padding-left: 0;
    font-size: 1.125rem;
    color: #36454f;
}
.steps-list li {
    margin-bottom: 1.4rem;
    line-height: 1.5;
}
.steps-list li strong {
    color: #1f7a8c;
}
.promo-img {
    flex: 1 1 320px;
    max-width: 460px;
    align-self: center;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgb(22 68 82 / 0.16);
}

/* GALLERY SECTION */
.gallery-section h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #146c8c;
    margin-bottom: 3rem;
    text-align: center;
}
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.screenshot {
    border-radius: 12px;
    box-shadow: 0 14px 32px rgb(22 68 82 / 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.screenshot:hover,
.screenshot:focus {
    transform: scale(1.06);
    outline: none;
}

/* CALL TO ACTION */
.cta-section {
    background: linear-gradient(45deg, #4fb3bf, #1f7a8c);
    color: #e0f7fa;
    text-align: center;
    padding: 5rem 0 6rem;
    border-radius: 0 0 40px 40px;
    box-shadow: inset 0 0 30px rgb(255 255 255 / 0.08);
}
.cta-section h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 6px rgb(0 0 0 / 0.2);
}
.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.cta-section .badge-link img {
    width: 200px;
    filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.3));
}

/* FOOTER */
.main-footer {
    background-color: #1f7a8c;
    color: #d0f0ec;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
    font-size: 0.95rem;
    box-shadow: inset 0 3px 10px rgb(0 0 0 / 0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
.footer-info h3 {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #c6e7ed;
}
.footer-info p {
    margin: 0.3rem 0;
    color: #b7d6df;
}
.footer-links h4,
.footer-legal h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #c6e7ed;
}
.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 0.7rem;
}
.footer-links ul li a,
.footer-legal ul li a {
    color: #d0f0ec;
    transition: color 0.25s ease;
}
.footer-links ul li a:hover,
.footer-links ul li a:focus,
.footer-legal ul li a:hover,
.footer-legal ul li a:focus {
    color: #ffffff;
    outline: none;
}
.footer-bottom {
    border-top: 1px solid rgb(208 240 236 / 0.25);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
    color: #a1cbd1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1.2rem;
    }
    .hero-content h1 {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .steps-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .steps-list,
    .promo-img {
        max-width: 100%;
        flex: none;
    }
    .promo-img {
        margin-top: 2rem;
    }
    .screenshots-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .nav-wrapper {
        flex-direction: column;
        gap: 0.8rem;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}