/* Internal guide-page styles for 1xbet-myanmar.online (Burmese).
   Loaded after assets/css/site.css, so the theme variables are already defined:
   --primary-color #4B0082, --secondary-color #e74c3c, --background-color #f5f7fa,
   --text-color #2c3e50, --star-color #FFD700.
   This theme's cards are white, so the separator banner title uses the purple primary colour.
   Layout only; it never re-skins the home page. */

html { scroll-behavior: smooth; }

body {
    font-family: "Pyidaungsu", "Myanmar Text", "Noto Sans Myanmar", "Padauk",
        -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.9;
}

/* ---------- Coded CTA separator card (never an image banner) ----------
   The whole card is one link, so logo, offer line, rating and the button are all
   clickable. The theme reveals cards with a fadeInUp animation; the inline instance
   must disable the animation AND force opacity back to 1 or it renders as blank space. */
.cta-banner { margin: 1.6rem 0; }

a.hero-cta-card.cta-banner-card {
    display: block;
    text-decoration: none;
    color: inherit;
    opacity: 1 !important;
    animation: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Kill any default/Bootstrap underline on the whole-card link - text-decoration
   propagates to block children, so the descendants need the rule too. */
.cta-banner a.hero-cta-card,
.cta-banner a.hero-cta-card:hover,
.cta-banner a.hero-cta-card:focus,
.cta-banner a.hero-cta-card:active,
.cta-banner a.hero-cta-card:visited,
.cta-banner a.hero-cta-card *,
.cta-stretched-link,
.cta-stretched-link:hover,
.cta-stretched-link:focus,
.cta-stretched-link:active,
.cta-stretched-link:visited {
    text-decoration: none !important;
    border-bottom: 0 !important;
}

.cta-banner .cta-banner-card {
    margin-top: 0;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(75, 0, 130, 0.14);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
a.hero-cta-card.cta-banner-card:hover,
a.hero-cta-card.cta-banner-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(75, 0, 130, 0.2);
}
a.hero-cta-card.cta-banner-card:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.cta-banner .hero-cta-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cta-banner .hero-cta-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}
.cta-banner .hero-cta-logo { max-height: 42px; width: auto; height: auto; }
.cta-banner .hero-cta-info { min-width: 0; }
.cta-banner .cta-banner-title {
    color: var(--primary-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    line-height: 1.35;
}
.cta-banner .bonus-text {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.1rem;
    line-height: 1.5;
}
.cta-banner .rating {
    color: var(--star-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    line-height: 1.3;
}
.cta-banner .hero-cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(75, 0, 130, 0.3);
}

/* Stretched overlay link: turns an existing card into one click target without
   restructuring it or nesting anchors. The card's own button stays above it. */
.cta-stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}
.promo-card,
.casino-card,
.hero-cta-card { position: relative; }
.promo-card .btn,
.casino-card .btn,
.hero-cta-card .hero-cta-button { position: relative; z-index: 3; }

/* ---------- Internal page hero (H1 + subtitle) ---------- */
.page-hero {
    background: linear-gradient(135deg, #4B0082 0%, #6a1bb0 55%, #4B0082 100%);
    color: #fff;
    padding: 2.8rem 0 2.4rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 82% 18%, rgba(255, 215, 0, 0.18), transparent 55%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff;
    font-size: 2.15rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    font-weight: 700;
}
.page-hero-sub {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    max-width: 54rem;
    margin: 0;
    line-height: 1.9;
}

/* Header on internal pages: brand logo + register CTA only, never a page menu. */
.nav-cta {
    display: inline-block;
    background: var(--primary-color);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(75, 0, 130, 0.35);
}
.nav-cta:hover { background: #37005f; color: #fff; }

.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
}
.breadcrumb-bar .container { padding-top: 0.55rem; padding-bottom: 0.55rem; }
.breadcrumb-bar a { color: var(--primary-color); text-decoration: none; font-weight: 600; }
.breadcrumb-bar span.sep { color: #98a2b3; margin: 0 0.4rem; }
.breadcrumb-bar .current { color: #56606e; }

/* ---------- Article body ---------- */
.page-body { max-width: 900px; padding-top: 2.2rem; padding-bottom: 3rem; }
.page-body p { margin-bottom: 1.1rem; font-size: 1.05rem; line-height: 1.95; }
.page-body h2 {
    margin-top: 2.4rem;
    padding-top: 0.3rem;
    color: var(--primary-color);
    font-size: 1.62rem;
    line-height: 1.6;
    font-weight: 700;
}
.page-body h3 {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: #24103a;
    line-height: 1.7;
    font-weight: 700;
}
.page-body ul, .page-body ol { margin: 0 0 1.2rem 1.2rem; }
.page-body li { margin-bottom: 0.45rem; line-height: 1.9; }
.page-body a { color: var(--primary-color); font-weight: 600; }
.page-body a:hover { text-decoration: underline; }
.lead { font-size: 1.1rem; line-height: 1.95; }

.key-points {
    background: #fff;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin: 1.4rem 0 1.8rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}
.key-points ul { margin-bottom: 0; }

.page-faq { margin-top: 0.4rem; }
.page-faq h3 { font-size: 1.08rem; margin-top: 1.4rem; color: #24103a; }
.page-faq p { margin-bottom: 0.85rem; }

/* ---------- Author bio, printed straight after the FAQ ---------- */
.author-box { margin-top: 2.4rem; }
.author-box #bio-avatar { max-width: 110px; }
.author-box #bio-name { margin-bottom: 0.35rem; color: var(--primary-color); font-weight: 700; }
.author-box #bio-text { color: #3b3b4f; margin-bottom: 0; font-size: 0.97rem; line-height: 1.95; }

/* ---------- Related links ---------- */
.related-links {
    background: #fff;
    border-radius: 14px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    margin: 2rem 0 0;
}
.related-links p.h5 { color: #24103a; font-weight: 700; }
.related-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 0.4rem 1rem;
}
.related-links a { color: var(--primary-color); font-weight: 600; text-decoration: none; }
.related-links a:hover { text-decoration: underline; }

/* ---------- Footer navigation: home + the seven guide pages + sitemap ---------- */
.footer-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 1rem;
    margin-bottom: 1rem;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1rem;
}
.footer-nav a { color: #f5f0e6; text-decoration: none; font-size: 0.9rem; opacity: 0.92; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .page-hero { padding: 2rem 0 1.8rem; }
    .page-hero h1 { font-size: 1.5rem; }
    .page-hero-sub { font-size: 0.95rem; }
    .page-body { padding-top: 1.4rem; }
    .page-body h2 { font-size: 1.32rem; }
    .page-body h3 { font-size: 1.1rem; }
    .cta-banner .hero-cta-content { flex-wrap: wrap; gap: 0.8rem; }
    .cta-banner .hero-cta-left { width: 100%; }
    .cta-banner .hero-cta-button { width: 100%; text-align: center; }
    .cta-banner .hero-cta-logo { max-height: 34px; }
    .footer-nav ul { gap: 0.3rem 0.7rem; }
    .footer-nav a { font-size: 0.82rem; }
    .related-links ul { grid-template-columns: 1fr; }
}
