@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: #f9fafb;
    color: #2c2c2c;
    line-height: 1.6;
    font-size: 16px;
    scroll-behavior: smooth;
}

a {
    color: #007acc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #005fa3;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background: #1e1e2f;
    color: #ddd;
}

.bg-dark a {
    color: #62c2ff;
}

.bg-dark a:hover,
.bg-dark a:focus {
    color: #3399ff;
}

/* HEADER */

.main-header {
    background: #11141d;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #eee;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 12px;
    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: #3b79d8;
    color: #fff;
    outline: none;
}

/* HERO SECTION */

.hero-section {
    background: linear-gradient(135deg, #172b4d 0%, #394f7d 100%);
    color: #e1e9ff;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 650px;
    line-height: 1.1;
}

.hero-subtitle {
    font-weight: 500;
    font-size: 1.3rem;
    max-width: 550px;
    margin-bottom: 30px;
    color: #bcd4ff;
}

.hero-description p {
    max-width: 720px;
    font-size: 1.1rem;
    color: #d1d9f8;
    margin-bottom: 32px;
    line-height: 1.6;
}

.download-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.download-badges a img {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
    border-radius: 12px;
}

.download-badges a img:hover,
.download-badges a img:focus {
    transform: scale(1.05);
    outline: none;
}

.price-info {
    font-size: 1rem;
    font-weight: 600;
    color: #a8b9f1;
}

/* CONTENT DIVIDERS */

.content-divider {
    margin: 60px 0;
    text-align: center;
}

.divider-image {
    max-width: 90%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(25, 42, 70, 0.25);
    transition: transform 0.4s ease;
}

.divider-image:hover,
.divider-image:focus {
    transform: scale(1.05);
    outline: none;
}

/* GAME DESCRIPTION */

.game-description h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 36px;
    color: #1e1e2f;
}

.text-block p {
    font-size: 1.1rem;
    margin-bottom: 22px;
    max-width: 900px;
    color: #3a3a4c;
    line-height: 1.7;
}

.game-description h3 {
    margin-top: 48px;
    margin-bottom: 28px;
    font-size: 2rem;
    font-weight: 700;
    color: #172b4d;
}

/* Features list styled as cards */

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow:
        0 8px 16px rgba(20, 40, 75, 0.12),
        0 2px 6px rgba(20, 40, 75, 0.08);
    font-weight: 600;
    color: #1e1e2f;
    line-height: 1.3;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.features-list li:hover,
.features-list li:focus-within {
    transform: translateY(-6px);
    box-shadow:
        0 16px 32px rgba(20, 40, 75, 0.2),
        0 6px 12px rgba(20, 40, 75, 0.1);
    outline: none;
}

/* HOW TO PLAY */

.how-to-play h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 44px;
}

.steps-list {
    list-style: none;
    counter-reset: step-counter;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
}

.steps-list li {
    background: #2c2c44;
    color: #dce1f7;
    border-radius: 16px;
    padding: 24px 32px 24px 80px;
    position: relative;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(20, 30, 60, 0.4);
    transition: background-color 0.3s ease;
}

.steps-list li strong {
    font-weight: 700;
}

.steps-list li:hover,
.steps-list li:focus-within {
    background: #3f4a7a;
    outline: none;
}

.steps-list li::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: #62a1ff;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0 0 10px #62a1ff88;
    user-select: none;
}

/* GALLERY */

.gallery-section h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 44px;
    text-align: center;
    color: #172b4d;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.screenshot {
    border-radius: 18px;
    box-shadow:
        0 10px 24px rgba(25, 42, 70, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.screenshot:hover,
.screenshot:focus {
    transform: scale(1.05);
    outline: none;
    box-shadow:
        0 18px 36px rgba(25, 42, 70, 0.32);
}

/* CALL TO ACTION */

.cta-section {
    background: linear-gradient(90deg, #394f7d 0%, #172b4d 100%);
    color: #e1e9ff;
    text-align: center;
    padding: 100px 20px 120px;
    border-radius: 0 0 40px 40px;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-weight: 500;
    font-size: 1.2rem;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #bcd4ff;
}

/* FOOTER */

.main-footer {
    background: #11141d;
    color: #8b8b99;
    padding: 60px 20px 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-info h3 {
    color: #62a1ff;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.3rem;
}

.footer-info p {
    margin: 6px 0;
    line-height: 1.5;
}

.footer-links h4,
.footer-legal h4 {
    margin-bottom: 12px;
    font-weight: 700;
    color: #a7b9d9;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-legal a {
    color: #8b8b99;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-links a:focus,
.footer-legal a:focus {
    color: #62a1ff;
    outline: none;
}

.footer-bottom {
    margin-top: 40px;
    text-align: center;
    border-top: 1px solid #22252e;
    padding-top: 24px;
    font-size: 0.85rem;
    color: #5a5a6a;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 90%;
    }

    .hero-description p {
        max-width: 100%;
    }

    .nav-menu {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .steps-list {
        padding: 0 10px;
    }

    .steps-list li {
        padding-left: 60px;
    }

    .content-divider {
        margin: 40px 0;
    }

    .divider-image {
        border-radius: 14px;
    }
}

@media (max-width: 479px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .download-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .download-badges a img {
        width: 130px;
    }
}