﻿
:root{--fdl-bg:#fff8f1;--fdl-surface:#ffffff;--fdl-surface-soft:#fff2e2;--fdl-text:#241b2f;--fdl-muted:#6d647b;--fdl-border:#f2d6b5;--fdl-primary:#f97316;--fdl-secondary:#c026d3;--fdl-indigo:#312e81;--fdl-gold:#fbbf24;--fdl-success:#047857;--fdl-shadow:0 20px 50px rgba(49,46,129,.12);--fdl-radius:24px;--fdl-max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at top left, rgba(251,191,36,.18), transparent 24%),radial-gradient(circle at top right, rgba(192,38,211,.12), transparent 22%),linear-gradient(180deg,#fff9f4 0%,#fff4ea 100%);color:var(--fdl-text);line-height:1.72}a{color:var(--fdl-indigo);text-decoration:none}a:hover{color:var(--fdl-secondary)}img{max-width:100%;height:auto;display:block}.fdl-container{width:min(calc(100% - 32px),var(--fdl-max));margin:0 auto}.fdl-site-header{position:sticky;top:0;z-index:50;backdrop-filter:blur(14px);background:rgba(255,248,241,.9);border-bottom:1px solid rgba(242,214,181,.8)}.fdl-header-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0}.fdl-brand{display:flex;align-items:center;gap:14px;min-width:0}.fdl-brand-logo-wrap{width:52px;height:52px;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,var(--fdl-primary),var(--fdl-secondary));box-shadow:0 10px 30px rgba(249,115,22,.25);flex-shrink:0}.fdl-brand-logo{width:100%;height:100%;object-fit:cover}.fdl-brand-text{display:flex;flex-direction:column;min-width:0}.fdl-brand-text strong{font-size:1.1rem;color:var(--fdl-indigo)}.fdl-brand-text small{font-size:.8rem;color:var(--fdl-muted)}.fdl-desktop-actions{display:flex;align-items:center;gap:16px}.fdl-menu,.fdl-footer-menu,.fdl-mobile-menu{list-style:none;margin:0;padding:0}.fdl-menu{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.fdl-menu li a,.fdl-mobile-menu li a,.fdl-footer-menu li a{font-weight:600}.fdl-menu li a{padding:8px 0;color:var(--fdl-text)}.fdl-menu li.current-menu-item a,.fdl-menu li a:hover{color:var(--fdl-primary)}.fdl-lang-switch{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:linear-gradient(135deg,var(--fdl-secondary),var(--fdl-indigo));color:#fff;font-weight:700;box-shadow:var(--fdl-shadow)}.fdl-menu-toggle{width:48px;height:48px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--fdl-primary),#fb923c);display:none;align-items:center;justify-content:center;gap:4px;flex-direction:column;cursor:pointer;box-shadow:var(--fdl-shadow)}.fdl-menu-toggle span{display:block;width:20px;height:2px;background:#fff;border-radius:999px}.fdl-mobile-panel{padding:0 0 16px}.fdl-mobile-nav{background:var(--fdl-surface);border:1px solid var(--fdl-border);border-radius:22px;padding:10px 16px;box-shadow:var(--fdl-shadow)}.fdl-mobile-menu li + li{border-top:1px solid #f3e7d6}.fdl-mobile-menu li a{display:block;padding:14px 4px;color:var(--fdl-text)}.fdl-lang-switch.mobile{margin-top:12px;width:100%}.fdl-page-shell{padding:34px 0 70px}.fdl-card{background:var(--fdl-surface);border:1px solid rgba(242,214,181,.85);border-radius:24px;box-shadow:var(--fdl-shadow)}.fdl-page-header{margin-bottom:24px}.fdl-breadcrumbs{font-size:.92rem;color:var(--fdl-muted);margin-bottom:10px}.fdl-breadcrumbs .sep{opacity:.6;margin:0 6px}.fdl-prose{padding:28px}.fdl-prose h1,.fdl-prose h2,.fdl-prose h3,.fdl-hero-copy h1,.fdl-section-head h2{line-height:1.18;margin:0 0 16px;color:var(--fdl-indigo)}.fdl-prose h1,.fdl-hero-copy h1{font-size:clamp(2rem,4vw,3.4rem)}.fdl-prose h2,.fdl-section-head h2{font-size:clamp(1.45rem,2vw,2rem);margin-top:26px}.fdl-prose p,.fdl-hero-copy p,.fdl-card p{margin:0 0 16px}.fdl-grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}.fdl-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.fdl-hero{padding:26px;background:linear-gradient(135deg, rgba(249,115,22,.10), rgba(192,38,211,.08)),var(--fdl-surface)}.fdl-hero-copy .eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(49,46,129,.08);color:var(--fdl-indigo);font-weight:700;margin-bottom:14px;font-size:.92rem}.fdl-hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:16px}.fdl-primary-btn,.fdl-sponsored-btn,.fdl-secondary-btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:50px;padding:0 22px;border-radius:999px;font-weight:800}.fdl-primary-btn{background:linear-gradient(135deg,var(--fdl-primary),#fb923c);color:#fff;box-shadow:0 14px 34px rgba(249,115,22,.28)}.fdl-sponsored-btn{background:linear-gradient(135deg,var(--fdl-secondary),var(--fdl-indigo));color:#fff;box-shadow:0 14px 34px rgba(49,46,129,.2)}.fdl-secondary-btn{background:#fff;color:var(--fdl-indigo);border:1px solid var(--fdl-border)}.fdl-hero-image{border-radius:24px;overflow:hidden;border:1px solid var(--fdl-border);background:linear-gradient(135deg,#fde7c7,#f7d4ff);min-height:320px}.fdl-hero-image img{width:100%;height:100%;object-fit:cover}.fdl-stat-grid,.fdl-link-grid,.fdl-feature-grid{display:grid;gap:18px}.fdl-stat-grid{grid-template-columns:repeat(4,1fr);margin-top:18px}.fdl-stat,.fdl-feature,.fdl-link-card{padding:20px;border-radius:20px;background:var(--fdl-surface);border:1px solid var(--fdl-border)}.fdl-stat strong{display:block;font-size:1.4rem;color:var(--fdl-primary);margin-bottom:6px}.fdl-section{margin-top:24px;padding:28px}.fdl-section-head{margin-bottom:18px}.fdl-section-head p{color:var(--fdl-muted)}.fdl-link-grid{grid-template-columns:repeat(3,1fr)}.fdl-link-card h3,.fdl-feature h3{margin-top:0;margin-bottom:10px;color:var(--fdl-indigo)}.fdl-list{padding-left:18px;margin:0}.fdl-list li{margin:0 0 10px}.fdl-note{padding:16px 18px;border-radius:18px;background:linear-gradient(135deg,rgba(251,191,36,.15),rgba(249,115,22,.09));border:1px solid rgba(249,115,22,.22)}.fdl-cta-band{margin-top:26px;padding:28px;border-radius:26px;background:linear-gradient(135deg,var(--fdl-indigo),var(--fdl-secondary));color:#fff;box-shadow:var(--fdl-shadow)}.fdl-cta-band h2,.fdl-cta-band p{color:#fff}.fdl-cta-band .fdl-secondary-btn{border-color:rgba(255,255,255,.22)}.fdl-site-footer{background:linear-gradient(180deg,#2f175e 0%, #24123f 100%);color:#f6ecff;padding:48px 0 26px;margin-top:40px}.fdl-site-footer a{color:#fff0b8}.fdl-footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}.fdl-footer-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.fdl-footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:22px;padding-top:18px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:.95rem}.fdl-error-card{text-align:center;padding:60px 24px}.fdl-error-code{display:block;font-size:4rem;font-weight:900;color:var(--fdl-primary);line-height:1}@media (max-width:991px){.fdl-desktop-actions{display:none}.fdl-menu-toggle{display:flex}.fdl-grid-2,.fdl-footer-grid,.fdl-link-grid,.fdl-grid-3{grid-template-columns:1fr}.fdl-stat-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.fdl-container{width:min(calc(100% - 20px),var(--fdl-max))}.fdl-header-row{padding:10px 0}.fdl-brand-logo-wrap{width:46px;height:46px;border-radius:14px}.fdl-brand-text small{display:none}.fdl-page-shell{padding:22px 0 48px}.fdl-hero,.fdl-section,.fdl-prose{padding:18px}.fdl-hero-copy h1,.fdl-prose h1{font-size:2rem}.fdl-stat-grid{grid-template-columns:1fr}.fdl-footer-menu{grid-template-columns:1fr}}

/* =========================================================
   5D LOTTERY HOME PAGE - ENGLISH HOME SUPPORT CSS
   Add this to assets/css/main.css
   ========================================================= */

/* Base */
.fdl-home-page {
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.10), transparent 24%),
        radial-gradient(circle at top left, rgba(192, 38, 211, 0.08), transparent 28%),
        linear-gradient(180deg, #fffaf4 0%, #fff4ea 100%);
    color: #1f2937;
}

.fdl-home-page *,
.fdl-home-page *::before,
.fdl-home-page *::after {
    box-sizing: border-box;
}

.fdl-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.fdl-section-head {
    margin-bottom: 24px;
}

.fdl-section-head.center {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 28px;
}

.fdl-section-tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: #4338ca;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fdl-section-tag.light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.fdl-home-page h1,
.fdl-home-page h2,
.fdl-home-page h3 {
    margin: 0 0 14px;
    color: #1f1b4b;
    line-height: 1.15;
}

.fdl-home-page h1 {
    font-size: clamp(2rem, 4vw, 3.55rem);
    letter-spacing: -0.02em;
}

.fdl-home-page h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.45rem);
    letter-spacing: -0.015em;
}

.fdl-home-page h3 {
    font-size: 1.18rem;
}

.fdl-home-page p {
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.85;
    color: #374151;
}

.fdl-center-text {
    max-width: 920px;
    margin: 0 auto 18px;
    text-align: center;
}

.fdl-home-page section {
    position: relative;
    padding: 72px 0;
}

/* Buttons */
.fdl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 16px;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.fdl-btn:hover {
    transform: translateY(-2px);
}

.fdl-btn-primary {
    background: linear-gradient(135deg, #f97316 0%, #fb923c 45%, #fbbf24 100%);
    color: #fff;
    box-shadow: 0 18px 30px rgba(249, 115, 22, 0.22);
}

.fdl-btn-primary:hover {
    color: #fff;
    box-shadow: 0 22px 34px rgba(249, 115, 22, 0.28);
}

.fdl-btn-secondary {
    background: #fff;
    color: #312e81;
    border: 1px solid rgba(49, 46, 129, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.fdl-btn-secondary:hover {
    color: #1f1b4b;
    border-color: rgba(49, 46, 129, 0.22);
}

.fdl-btn-light {
    background: #fff;
    color: #7c2d12;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

.fdl-btn-light:hover {
    color: #7c2d12;
}

.fdl-btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.fdl-btn-outline-light:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.fdl-btn.full {
    width: 100%;
}

/* Hero */
.fdl-hero {
    padding-top: 34px;
    padding-bottom: 54px;
}

.fdl-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 34px;
    align-items: center;
}

.fdl-hero-copy {
    position: relative;
    z-index: 2;
}

.fdl-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(192, 38, 211, 0.08);
    color: #a21caf;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fdl-hero-lead {
    max-width: 690px;
    font-size: 1.05rem;
    color: #4b5563;
}

.fdl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 18px;
}

.fdl-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fdl-hero-points span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(49, 46, 129, 0.08);
    font-size: 0.88rem;
    font-weight: 600;
    color: #4338ca;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

.fdl-hero-media {
    position: relative;
}

.fdl-hero-image-wrap {
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, #fff, #fff6ed);
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 26px 56px rgba(49, 46, 129, 0.14);
}

.fdl-hero-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

.fdl-result-mini-card {
    position: absolute;
    left: -20px;
    bottom: -24px;
    width: min(320px, 92%);
    padding: 18px 18px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.13);
}

.fdl-result-mini-label {
    margin-bottom: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a21caf;
}

.fdl-result-mini-digits {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.fdl-result-mini-digits span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(180deg, #312e81 0%, #4338ca 100%);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 800;
    box-shadow: 0 12px 20px rgba(67, 56, 202, 0.18);
}

.fdl-result-mini-card p {
    margin-bottom: 0;
    font-size: 0.93rem;
    line-height: 1.65;
}

/* Intro cards */
.fdl-quick-intro {
    padding-top: 84px;
}

.fdl-info-grid {
    display: grid;
    gap: 22px;
}

.fdl-info-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fdl-info-card {
    padding: 28px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.fdl-info-card h3 {
    margin-bottom: 10px;
}

.fdl-info-card p {
    margin-bottom: 0;
    font-size: 0.98rem;
}

/* Main content + sidebar */
.fdl-content-band {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
}

.fdl-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
    gap: 28px;
    align-items: start;
}

.fdl-main-col,
.fdl-side-col {
    min-width: 0;
}

.fdl-main-col {
    padding: 34px 34px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.07);
}

.fdl-highlight-box {
    margin: 26px 0 28px;
    padding: 22px 22px 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 191, 36, 0.12));
    border: 1px solid rgba(249, 115, 22, 0.14);
}

.fdl-highlight-box h3 {
    margin-bottom: 10px;
    color: #9a3412;
}

.fdl-side-col {
    display: grid;
    gap: 18px;
}

.fdl-side-card {
    padding: 24px 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.fdl-side-card.accent {
    background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
    border-color: rgba(249, 115, 22, 0.14);
}

.fdl-side-card h3 {
    margin-bottom: 12px;
}

.fdl-side-card ul {
    margin: 0;
    padding-left: 18px;
}

.fdl-side-card li {
    margin-bottom: 10px;
    color: #374151;
    line-height: 1.6;
}

.fdl-link-list {
    padding-left: 0 !important;
    list-style: none;
}

.fdl-link-list li {
    margin-bottom: 12px;
}

.fdl-link-list a {
    color: #4338ca;
    text-decoration: none;
    font-weight: 600;
}

.fdl-link-list a:hover {
    color: #a21caf;
    text-decoration: underline;
}

/* Number graphic examples */
.fdl-number-examples {
    background:
        radial-gradient(circle at top center, rgba(251, 191, 36, 0.10), transparent 36%);
}

.fdl-number-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.fdl-number-card {
    padding: 22px 20px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f1 100%);
    border: 1px solid rgba(249, 115, 22, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.fdl-number-top {
    margin-bottom: 14px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a21caf;
}

.fdl-digit-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.fdl-digit-row span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(180deg, #4f46e5 0%, #312e81 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 12px 18px rgba(49, 46, 129, 0.18);
}

.fdl-number-meta {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #4b5563;
}

/* Analysis */
.fdl-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.fdl-step-card {
    position: relative;
    padding: 24px 22px 22px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
}

.fdl-step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #c026d3);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 800;
    box-shadow: 0 12px 18px rgba(192, 38, 211, 0.14);
}

.fdl-step-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Mobile-user section */
.fdl-split-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 26px;
    align-items: start;
}

.fdl-split-copy {
    padding: 34px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(49, 46, 129, 0.08);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
}

.fdl-mobile-cards {
    display: grid;
    gap: 18px;
}

.fdl-mini-panel {
    padding: 24px 22px;
    border-radius: 24px;
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 60%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(49, 46, 129, 0.18);
}

.fdl-mini-panel h3 {
    color: #fff;
    margin-bottom: 10px;
}

.fdl-mini-panel p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
}

/* Trust / inline links */
.fdl-inline-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.fdl-inline-links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(49, 46, 129, 0.08);
    color: #4338ca;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.05);
}

.fdl-inline-links a:hover {
    color: #a21caf;
    text-decoration: none;
}

/* Bottom CTA */
.fdl-bottom-cta {
    padding-top: 44px;
}

.fdl-bottom-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, #f97316 0%, #c026d3 55%, #312e81 100%);
    box-shadow: 0 24px 48px rgba(124, 45, 18, 0.22);
}

.fdl-bottom-cta-copy {
    max-width: 720px;
}

.fdl-bottom-cta-copy h2,
.fdl-bottom-cta-copy p {
    color: #fff;
}

.fdl-bottom-cta-copy p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.fdl-bottom-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

/* Links inside homepage article content */
.fdl-home-page a:not(.fdl-btn):not(.fdl-inline-links a):not(.fdl-link-list a) {
    color: #4338ca;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.fdl-home-page a:not(.fdl-btn):not(.fdl-inline-links a):not(.fdl-link-list a):hover {
    color: #a21caf;
}

/* Responsive */
@media (max-width: 1100px) {
    .fdl-hero-grid,
    .fdl-content-grid,
    .fdl-split-panel {
        grid-template-columns: 1fr;
    }

    .fdl-info-grid.three,
    .fdl-number-grid,
    .fdl-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fdl-result-mini-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        margin-top: 18px;
    }

    .fdl-bottom-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .fdl-bottom-cta-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .fdl-home-page section {
        padding: 56px 0;
    }

    .fdl-container {
        width: min(100% - 20px, 1180px);
    }

    .fdl-home-page h1 {
        font-size: 2rem;
        line-height: 1.18;
    }

    .fdl-home-page h2 {
        font-size: 1.5rem;
        line-height: 1.24;
    }

    .fdl-home-page p {
        font-size: 0.97rem;
        line-height: 1.8;
    }

    .fdl-hero {
        padding-top: 18px;
        padding-bottom: 40px;
    }

    .fdl-hero-actions,
    .fdl-bottom-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fdl-hero-actions .fdl-btn,
    .fdl-bottom-cta-actions .fdl-btn {
        width: 100%;
    }

    .fdl-info-grid.three,
    .fdl-number-grid,
    .fdl-steps-grid {
        grid-template-columns: 1fr;
    }

    .fdl-main-col,
    .fdl-split-copy,
    .fdl-side-card,
    .fdl-info-card,
    .fdl-number-card,
    .fdl-step-card,
    .fdl-bottom-cta-box {
        padding-left: 20px;
        padding-right: 20px;
    }

    .fdl-hero-image-wrap {
        border-radius: 24px;
    }

    .fdl-hero-image-wrap img {
        min-height: 260px;
    }

    .fdl-result-mini-digits span,
    .fdl-digit-row span {
        width: 44px;
        height: 50px;
        font-size: 1.05rem;
    }

    .fdl-hero-points span {
        width: 100%;
        justify-content: center;
    }

    .fdl-inline-links {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .fdl-btn {
        min-height: 48px;
        padding: 0 18px;
        border-radius: 14px;
        font-size: 0.93rem;
    }

    .fdl-result-mini-digits {
        gap: 6px;
    }

    .fdl-result-mini-digits span,
    .fdl-digit-row span {
        width: 40px;
        height: 46px;
        border-radius: 14px;
    }

    .fdl-kicker,
    .fdl-section-tag {
        font-size: 0.7rem;
    }
}

/* =========================================================
   5D LOTTERY INNER PAGES ENHANCED STYLE
   Add below homepage CSS
   ========================================================= */

.fdl-inner-page {
    position: relative;
    padding: 34px 0 80px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 24%),
        radial-gradient(circle at top left, rgba(192, 38, 211, 0.07), transparent 30%),
        linear-gradient(180deg, #fffaf5 0%, #fff5ec 100%);
    min-height: 60vh;
}

.fdl-inner-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.22;
}

.fdl-inner-page .fdl-container {
    position: relative;
    z-index: 1;
}

/* Top hero feel for inner pages */
.fdl-inner-page .fdl-container > h1:first-child {
    position: relative;
    margin: 0 0 22px;
    padding: 22px 24px 22px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(49, 46, 129, 0.98) 0%, rgba(79, 70, 229, 0.96) 55%, rgba(192, 38, 211, 0.94) 100%);
    color: #fff;
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    box-shadow: 0 22px 42px rgba(49, 46, 129, 0.22);
    overflow: hidden;
}

.fdl-inner-page .fdl-container > h1:first-child::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
}

.fdl-inner-page .fdl-container > h1:first-child::after {
    content: "";
    display: block;
    width: 84px;
    height: 4px;
    margin-top: 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fbbf24, #fb923c);
}

/* Main content card */
.fdl-inner-page .fdl-container {
    max-width: 1120px;
}

.fdl-inner-page .fdl-container > *:not(h1) {
    position: relative;
}

.fdl-inner-page .fdl-container > p:first-of-type,
.fdl-inner-page .fdl-container > ul:first-of-type,
.fdl-inner-page .fdl-container > h2:first-of-type,
.fdl-inner-page .fdl-container > h3:first-of-type {
    margin-top: 0;
}

.fdl-inner-page .fdl-container {
    padding: 0;
}

.fdl-inner-page .fdl-container {
    background: transparent;
}

.fdl-inner-page .fdl-container > p,
.fdl-inner-page .fdl-container > h2,
.fdl-inner-page .fdl-container > h3,
.fdl-inner-page .fdl-container > ul,
.fdl-inner-page .fdl-container > ol,
.fdl-inner-page .fdl-container > blockquote {
    max-width: 100%;
}

/* Body content wrapper effect by styling all following siblings */
.fdl-inner-page .fdl-container > h1:first-child ~ * {
    background: rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(79, 70, 229, 0.06);
    border-right: 1px solid rgba(79, 70, 229, 0.06);
}

.fdl-inner-page .fdl-container > h1:first-child ~ p,
.fdl-inner-page .fdl-container > h1:first-child ~ h2,
.fdl-inner-page .fdl-container > h1:first-child ~ h3,
.fdl-inner-page .fdl-container > h1:first-child ~ ul,
.fdl-inner-page .fdl-container > h1:first-child ~ ol,
.fdl-inner-page .fdl-container > h1:first-child ~ blockquote {
    padding-left: 28px;
    padding-right: 28px;
}

.fdl-inner-page .fdl-container > h1:first-child ~ p:first-of-type {
    padding-top: 24px;
}

.fdl-inner-page .fdl-container > h1:first-child ~ *:last-child {
    padding-bottom: 30px;
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.fdl-inner-page .fdl-container > h1:first-child ~ p:last-child,
.fdl-inner-page .fdl-container > h1:first-child ~ ul:last-child,
.fdl-inner-page .fdl-container > h1:first-child ~ ol:last-child,
.fdl-inner-page .fdl-container > h1:first-child ~ blockquote:last-child {
    padding-bottom: 32px;
}

/* Typography */
.fdl-inner-page h2 {
    margin: 34px 0 14px;
    color: #1f1b4b;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.fdl-inner-page h3 {
    margin: 24px 0 12px;
    color: #312e81;
    font-size: 1.18rem;
    line-height: 1.35;
}

.fdl-inner-page p {
    margin: 0 0 18px;
    color: #374151;
    font-size: 1rem;
    line-height: 1.9;
}

.fdl-inner-page strong {
    color: #1f1b4b;
}

.fdl-inner-page em {
    color: #7c2d12;
}

/* Decorative subheading treatment */
.fdl-inner-page h2 {
    position: relative;
    padding-left: 18px;
}

.fdl-inner-page h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 6px;
    height: 1.2em;
    border-radius: 999px;
    background: linear-gradient(180deg, #f97316, #c026d3);
    box-shadow: 0 4px 10px rgba(192, 38, 211, 0.16);
}

/* Lists */
.fdl-inner-page ul,
.fdl-inner-page ol {
    margin: 0 0 20px 0;
    padding: 0 28px 0 54px;
    color: #374151;
}

.fdl-inner-page ul li,
.fdl-inner-page ol li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.fdl-inner-page ul li::marker,
.fdl-inner-page ol li::marker {
    color: #f97316;
    font-weight: 700;
}

/* FAQ style feel */
.fdl-inner-page h2 + p {
    position: relative;
}

.fdl-inner-page h2 + p,
.fdl-inner-page h3 + p {
    color: #4b5563;
}

/* Blockquote */
.fdl-inner-page blockquote {
    margin: 24px 28px;
    padding: 20px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08), rgba(251, 191, 36, 0.13));
    border: 1px solid rgba(249, 115, 22, 0.14);
    color: #7c2d12;
    font-size: 1rem;
    line-height: 1.85;
}

/* Links */
.fdl-inner-page a {
    color: #4338ca;
    font-weight: 600;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 2px;
}

.fdl-inner-page a:hover {
    color: #a21caf;
}

/* Single keyword home-link highlight */
.fdl-inner-page a[href="/"],
.fdl-inner-page a[href*='home_url'],
.fdl-inner-page p a,
.fdl-inner-page li a {
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fdl-inner-page p a {
    padding: 0 3px;
    border-radius: 6px;
}

.fdl-inner-page p a:hover {
    background: rgba(79, 70, 229, 0.08);
    box-shadow: inset 0 -2px 0 rgba(249, 115, 22, 0.24);
}

/* Visual separators */
.fdl-inner-page .fdl-container > h1:first-child ~ h2:not(:first-of-type) {
    margin-top: 40px;
}

.fdl-inner-page .fdl-container > h1:first-child ~ h2:not(:first-of-type)::after {
    content: "";
    display: block;
    width: 100%;
    max-width: 140px;
    height: 1px;
    margin-top: 12px;
    background: linear-gradient(90deg, rgba(249,115,22,0.3), rgba(192,38,211,0));
}

/* Table support if later you add tables */
.fdl-inner-page table {
    width: calc(100% - 56px);
    margin: 0 28px 22px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.fdl-inner-page table th,
.fdl-inner-page table td {
    padding: 14px 16px;
    border: 1px solid rgba(79, 70, 229, 0.08);
    text-align: left;
    line-height: 1.65;
}

.fdl-inner-page table th {
    background: linear-gradient(135deg, #312e81, #4f46e5);
    color: #fff;
    font-weight: 700;
}

.fdl-inner-page table tr:nth-child(even) td {
    background: #fffaf5;
}

/* Contact / policy style callout blocks if needed later */
.fdl-inner-page .fdl-note-box,
.fdl-inner-page .fdl-info-box,
.fdl-inner-page .fdl-warning-box {
    margin: 20px 28px;
    padding: 20px 22px;
    border-radius: 22px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.fdl-inner-page .fdl-note-box {
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.12);
}

.fdl-inner-page .fdl-info-box {
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(14, 165, 233, 0.14);
}

.fdl-inner-page .fdl-warning-box {
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.16);
}

/* Better spacing for consecutive paragraphs */
.fdl-inner-page p + p {
    margin-top: -2px;
}

/* Footer edge spacing when content is short */
.fdl-inner-page .fdl-container > *:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 991px) {
    .fdl-inner-page {
        padding: 24px 0 60px;
    }

    .fdl-inner-page .fdl-container > h1:first-child {
        padding: 20px 20px 18px;
        border-radius: 24px;
        margin-bottom: 18px;
    }

    .fdl-inner-page .fdl-container > h1:first-child ~ p,
    .fdl-inner-page .fdl-container > h1:first-child ~ h2,
    .fdl-inner-page .fdl-container > h1:first-child ~ h3,
    .fdl-inner-page .fdl-container > h1:first-child ~ ul,
    .fdl-inner-page .fdl-container > h1:first-child ~ ol,
    .fdl-inner-page .fdl-container > h1:first-child ~ blockquote {
        padding-left: 22px;
        padding-right: 22px;
    }

    .fdl-inner-page ul,
    .fdl-inner-page ol {
        padding-left: 44px;
        padding-right: 22px;
    }

    .fdl-inner-page table {
        width: calc(100% - 44px);
        margin-left: 22px;
        margin-right: 22px;
    }

    .fdl-inner-page blockquote,
    .fdl-inner-page .fdl-note-box,
    .fdl-inner-page .fdl-info-box,
    .fdl-inner-page .fdl-warning-box {
        margin-left: 22px;
        margin-right: 22px;
    }
}

@media (max-width: 767px) {
    .fdl-inner-page {
        padding: 16px 0 48px;
    }

    .fdl-inner-page .fdl-container > h1:first-child {
        padding: 18px 16px 16px;
        border-radius: 20px;
        font-size: 1.75rem;
    }

    .fdl-inner-page .fdl-container > h1:first-child::after {
        width: 62px;
        margin-top: 12px;
    }

    .fdl-inner-page .fdl-container > h1:first-child ~ p,
    .fdl-inner-page .fdl-container > h1:first-child ~ h2,
    .fdl-inner-page .fdl-container > h1:first-child ~ h3,
    .fdl-inner-page .fdl-container > h1:first-child ~ ul,
    .fdl-inner-page .fdl-container > h1:first-child ~ ol,
    .fdl-inner-page .fdl-container > h1:first-child ~ blockquote {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fdl-inner-page .fdl-container > h1:first-child ~ *:last-child {
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .fdl-inner-page h2 {
        font-size: 1.32rem;
        margin-top: 28px;
        margin-bottom: 12px;
        padding-left: 14px;
    }

    .fdl-inner-page h2::before {
        width: 5px;
    }

    .fdl-inner-page h3 {
        font-size: 1.08rem;
    }

    .fdl-inner-page p {
        font-size: 0.98rem;
        line-height: 1.85;
    }

    .fdl-inner-page ul,
    .fdl-inner-page ol {
        padding-left: 36px;
        padding-right: 16px;
    }

    .fdl-inner-page blockquote,
    .fdl-inner-page .fdl-note-box,
    .fdl-inner-page .fdl-info-box,
    .fdl-inner-page .fdl-warning-box {
        margin-left: 16px;
        margin-right: 16px;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .fdl-inner-page table {
        display: block;
        width: calc(100% - 32px);
        margin-left: 16px;
        margin-right: 16px;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .fdl-inner-page .fdl-container > h1:first-child {
        font-size: 1.55rem;
        line-height: 1.2;
    }

    .fdl-inner-page p {
        font-size: 0.96rem;
    }

    .fdl-inner-page ul li,
    .fdl-inner-page ol li {
        margin-bottom: 10px;
    }
}