/* Content styling for the standalone iOS guide pages (ios.html / ios16.html),
   rebuilt to sit under the site-header / site-footer partials ported from
   mp_game_home (see header-mp.css, footer-maxplay.css, product-info-mp.css). */

html:has(> body.ios-guide) {
    overflow-x: hidden;
}

.ios-guide,
.ios-guide *,
.ios-guide *::before,
.ios-guide *::after {
    box-sizing: border-box;
}

.ios-guide {
    margin: 0;
    overflow-x: hidden;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    color: #1b2434;
    background: #f2f4f7;
}

.ios-guide img {
    max-width: 100%;
    height: auto;
}

.ios-guide-main {
    display: block;
}

/* ---------- Content card ---------- */
.ios-guide-content {
    max-width: 760px;
    margin: 40px auto 64px;
    padding: 0 20px;
}

.ios-guide-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 24px 48px -20px rgba(15, 40, 70, 0.28);
}

.ios-guide-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef1f5;
}

.ios-guide-card__head h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #1b2434;
}

/* Steps */
.ios-guide-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ios-guide-steps li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.ios-guide-steps__num {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(160deg, #1c7fd6, #0055ac);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.ios-guide-steps__body h3 {
    margin: 2px 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: #1b2434;
}

.ios-guide-steps__body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #4a5468;
}

.ios-guide-steps__body a {
    color: #0055ac;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.ios-guide-steps__body a:hover {
    text-decoration: underline;
}

.ios-guide-steps + .ios-guide-note,
.ios-guide-steps + .ios-guide-cta {
    margin-top: 28px;
}

/* Note / callout box */
.ios-guide-note {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #eef6ff;
    border: 1px solid #d7e9fb;
    font-size: 13px;
    line-height: 1.6;
    color: #35507a;
}

.ios-guide-note strong {
    color: #0055ac;
}

/* CTA */
.ios-guide-cta {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eef1f5;
    text-align: center;
}

.ios-guide-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 999px;
    background: linear-gradient(160deg, #1c7fd6, #0055ac);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .3px;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 30px -10px rgba(0, 85, 172, 0.55);
    transition: transform .2s ease, box-shadow .2s ease;
}

.ios-guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -10px rgba(0, 85, 172, 0.6);
}

.ios-guide-cta__hint {
    margin: 14px 0 0;
    font-size: 13px;
    color: #7a8598;
}

.ios-guide-cta__hint a {
    color: #0055ac;
    font-weight: 600;
    text-decoration: none;
}

.ios-guide-cta__hint a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ios-guide-content {
        margin-top: 24px;
        padding: 0 14px;
    }

    .ios-guide-card {
        padding: 22px;
    }

    .ios-guide-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .ios-guide-steps li {
        gap: 14px;
    }
}
