:root {
  --l7lottery-primary: #0f8f86;
  --l7lottery-primary-strong: #087068;
  --l7lottery-secondary: #6e315f;
  --l7lottery-secondary-deep: #3a1837;
  --l7lottery-accent: #f2ad2e;
  --l7lottery-accent-hover: #ffc457;
  --l7lottery-bg: #100d18;
  --l7lottery-bg-warm: #17111d;
  --l7lottery-surface: #1d1727;
  --l7lottery-card: #241c30;
  --l7lottery-card-soft: #2b2237;
  --l7lottery-text: #fffaf0;
  --l7lottery-muted: #c9bdc8;
  --l7lottery-border: #44364f;
  --l7lottery-legal: #162f31;
  --l7lottery-footer: #0b0911;
  --l7lottery-radius-sm: 12px;
  --l7lottery-radius: 20px;
  --l7lottery-radius-lg: 30px;
  --l7lottery-shadow: 0 18px 55px rgba(0, 0, 0, .24);
  --l7lottery-container: 1180px;
  --l7lottery-header-container: 1580px;
  --l7lottery-header-height: 76px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 10% 10%, rgba(15,143,134,.14), transparent 28rem),
    radial-gradient(circle at 90% 16%, rgba(110,49,95,.20), transparent 30rem),
    var(--l7lottery-bg);
  color: var(--l7lottery-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
body.l7lottery-lang-hi {
  font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Noto Sans", system-ui, sans-serif;
  line-height: 1.82;
}
body.l7lottery-drawer-open { overflow: hidden; }
img { display: block; width: 100%; max-width: 100%; height: auto; }
a { color: #6fd8cf; text-underline-offset: .18em; }
a:hover { color: #9ae9e2; }
p, li, dd, td, th, a, button { overflow-wrap: anywhere; word-break: normal; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--l7lottery-accent); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; }

.l7lottery-container { width: min(calc(100% - 32px), var(--l7lottery-container)); margin-inline: auto; }
.l7lottery-narrow { width: min(calc(100% - 32px), 840px); margin-inline: auto; }
.l7lottery-section { padding: 56px 0; position: relative; }
.l7lottery-section-soft { background: rgba(255,255,255,.025); border-block: 1px solid rgba(255,255,255,.045); }
.l7lottery-section-warm {
  background:
    linear-gradient(135deg, rgba(110,49,95,.15), transparent 48%),
    linear-gradient(315deg, rgba(242,173,46,.07), transparent 45%),
    var(--l7lottery-bg-warm);
}
.l7lottery-section-head { max-width: 760px; margin-bottom: 28px; }
.l7lottery-section-head-compact { max-width: 940px; margin-bottom: 22px; }
.l7lottery-section-head-compact h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: 10px; }
.l7lottery-section-head-compact .l7lottery-muted { max-width: 800px; margin-bottom: 0; }
.l7lottery-eyebrow { margin: 0 0 10px; color: #96e5df; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
h1, h2, h3 { margin-top: 0; line-height: 1.18; letter-spacing: -.02em; }
.l7lottery-lang-hi h1, .l7lottery-lang-hi h2, .l7lottery-lang-hi h3 { line-height: 1.34; letter-spacing: 0; }
h1 { font-size: clamp(2.25rem, 7vw, 4.9rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.65rem, 4.8vw, 2.65rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.15rem, 3.6vw, 1.45rem); margin-bottom: 10px; }
.l7lottery-lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #eadfe8; max-width: 760px; }
.l7lottery-muted { color: var(--l7lottery-muted); }

.l7lottery-skip-link { position: fixed; top: 8px; left: 8px; z-index: 10000; transform: translateY(-140%); background: var(--l7lottery-accent); color: #241405; padding: 10px 14px; border-radius: 10px; font-weight: 800; }
.l7lottery-skip-link:focus { transform: translateY(0); }

.l7lottery-site-header { position: sticky; top: 0; z-index: 1000; min-height: var(--l7lottery-header-height); background: rgba(11,9,17,.92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.07); }
.l7lottery-header-inner { min-height: var(--l7lottery-header-height); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.l7lottery-header-inner.l7lottery-container { width: min(calc(100% - 28px), var(--l7lottery-header-container)); }
.l7lottery-brand { grid-column: 1; }
.l7lottery-desktop-nav { grid-column: 2; }
.l7lottery-header-actions { grid-column: 3; }
.l7lottery-brand-link, .l7lottery-footer-brandline { display: inline-flex; align-items: center; gap: 10px; color: var(--l7lottery-text); text-decoration: none; font-weight: 900; }
.l7lottery-brand-link .custom-logo, .l7lottery-brand-image { width: auto; max-width: 176px; max-height: 46px; object-fit: contain; }
.l7lottery-footer-logo { width: auto; max-width: 210px; max-height: 64px; object-fit: contain; }
.l7lottery-brand-mark { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 13px 7px 13px 7px; background: linear-gradient(145deg, var(--l7lottery-primary), var(--l7lottery-secondary)); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-weight: 900; letter-spacing: -.04em; }
.l7lottery-brand-name { white-space: nowrap; }
.l7lottery-desktop-nav { display: none; }
.l7lottery-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 2px; }
.l7lottery-menu > li { flex: 0 0 auto; }
.l7lottery-menu a { display: block; padding: 8px 7px; color: #ede4ec; text-decoration: none; border-radius: 10px; font-size: .86rem; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.l7lottery-menu .current-menu-item > a, .l7lottery-menu a:hover { background: rgba(15,143,134,.13); color: #fff; }
.l7lottery-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; white-space: nowrap; }
.l7lottery-header-language { display: none; }
.l7lottery-language-switch { display: inline-flex; align-items: center; gap: 5px; padding: 4px; border: 1px solid var(--l7lottery-border); background: rgba(255,255,255,.035); border-radius: 999px; white-space: nowrap; }
.l7lottery-language-current, .l7lottery-language-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 5px 10px; border-radius: 999px; font-size: .82rem; font-weight: 750; text-decoration: none; white-space: nowrap; overflow-wrap: normal; }
.l7lottery-language-current { background: rgba(242,173,46,.15); color: #ffe1a2; }
.l7lottery-language-link { color: #dffaf7; }
.l7lottery-desktop-cta { display: none; }
.l7lottery-desktop-cta .l7lottery-button { min-height: 44px; padding: 10px 15px; font-size: .9rem; white-space: nowrap; overflow-wrap: normal; }
.l7lottery-menu-toggle { width: 46px; height: 46px; border: 1px solid var(--l7lottery-border); background: var(--l7lottery-card); border-radius: 14px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.l7lottery-menu-toggle span { display: block; width: 21px; height: 2px; background: #fff; border-radius: 5px; }

.l7lottery-drawer-overlay { position: fixed; inset: 0; z-index: 1090; background: rgba(5,4,8,.72); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.l7lottery-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.l7lottery-mobile-drawer { position: fixed; inset: 0 0 0 auto; z-index: 1100; width: min(88vw, 380px); height: 100dvh; padding: 18px; background: #17111f; border-left: 1px solid var(--l7lottery-border); box-shadow: -18px 0 55px rgba(0,0,0,.35); transform: translateX(105%); transition: transform .24s ease; overflow-y: auto; }
.l7lottery-mobile-drawer.is-open { transform: translateX(0); }
.l7lottery-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--l7lottery-border); }
.l7lottery-drawer-title { font-weight: 900; font-size: 1.15rem; }
.l7lottery-drawer-close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--l7lottery-border); background: var(--l7lottery-card); cursor: pointer; font-size: 1.65rem; line-height: 1; }
.l7lottery-drawer-language { padding: 16px 0 6px; }
.l7lottery-menu-mobile { display: grid; gap: 6px; padding: 12px 0; }
.l7lottery-menu-mobile a { padding: 13px 12px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.04); }
.l7lottery-mobile-cta { padding-top: 12px; }

.l7lottery-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 14px; font-weight: 850; text-decoration: none; border: 1px solid transparent; line-height: 1.25; text-align: center; }
.l7lottery-button-primary { background: var(--l7lottery-accent); color: #281707; box-shadow: 0 9px 28px rgba(242,173,46,.16); }
.l7lottery-button-primary:hover { color: #201204; background: var(--l7lottery-accent-hover); }
.l7lottery-button-secondary { color: #e8fffd; border-color: #397c77; background: rgba(15,143,134,.10); }
.l7lottery-button-secondary:hover { background: rgba(15,143,134,.19); color: #fff; }
.l7lottery-button-drawer { width: 100%; }
.l7lottery-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.l7lottery-hero { padding: 44px 0 36px; position: relative; overflow: hidden; }
.l7lottery-hero::before { content: ""; position: absolute; width: 360px; height: 360px; right: -160px; top: -120px; border: 1px solid rgba(242,173,46,.18); border-radius: 44% 56% 62% 38%; transform: rotate(18deg); box-shadow: 0 0 0 32px rgba(15,143,134,.035), 0 0 0 64px rgba(110,49,95,.025); pointer-events: none; }
.l7lottery-hero-grid { display: grid; gap: 28px; align-items: center; }
.l7lottery-hero-copy { position: relative; z-index: 2; }
.l7lottery-hero-media { position: relative; border-radius: var(--l7lottery-radius-lg); overflow: hidden; border: 1px solid rgba(242,173,46,.18); background: linear-gradient(145deg, rgba(15,143,134,.13), rgba(110,49,95,.18)); box-shadow: var(--l7lottery-shadow); }
.l7lottery-hero-media::after { content: ""; position: absolute; inset: 14px; border-radius: calc(var(--l7lottery-radius-lg) - 8px); border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.l7lottery-hero-media img { aspect-ratio: 1200 / 630; object-fit: cover; }
.l7lottery-hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; background: rgba(15,143,134,.13); border: 1px solid rgba(111,216,207,.22); color: #a7eee8; font-size: .84rem; font-weight: 750; margin-bottom: 16px; }

.l7lottery-independent-notice { margin: 0 auto 18px; width: min(calc(100% - 32px), var(--l7lottery-container)); padding: 14px 16px; border: 1px solid rgba(242,173,46,.35); border-left: 4px solid var(--l7lottery-accent); border-radius: 14px; background: rgba(242,173,46,.07); color: #fff3d8; }
.l7lottery-independent-notice p { margin: 0; }

.l7lottery-bento-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.l7lottery-card, .l7lottery-bento-card, .l7lottery-feature-card, .l7lottery-editorial-card, .l7lottery-related-card, .l7lottery-legal-card, .l7lottery-faq-card, .l7lottery-table-card {
  max-width: 100%; box-sizing: border-box; border: 1px solid var(--l7lottery-border); background: linear-gradient(160deg, rgba(255,255,255,.026), rgba(255,255,255,.01)), var(--l7lottery-card); border-radius: var(--l7lottery-radius); box-shadow: 0 10px 30px rgba(0,0,0,.12); overflow: hidden;
}
.l7lottery-bento-card, .l7lottery-feature-card, .l7lottery-related-card, .l7lottery-legal-card, .l7lottery-faq-card, .l7lottery-table-card { padding: 22px; }
.l7lottery-bento-card.l7lottery-bento-primary { background: linear-gradient(145deg, rgba(15,143,134,.24), rgba(110,49,95,.20)), var(--l7lottery-card); border-color: #3c756f; }
.l7lottery-card-label { display: inline-flex; margin-bottom: 12px; color: #ffd681; font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.l7lottery-card p:last-child { margin-bottom: 0; }
.l7lottery-card-link { display: inline-flex; margin-top: 9px; font-weight: 800; text-decoration: none; }

.l7lottery-editorial-card { display: grid; grid-template-columns: 1fr; }
.l7lottery-editorial-copy { padding: 24px; }
.l7lottery-editorial-media { min-height: 240px; background: var(--l7lottery-card-soft); }
.l7lottery-editorial-media img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.l7lottery-editorial-card.l7lottery-editorial-reverse .l7lottery-editorial-copy { order: 1; }
.l7lottery-editorial-card.l7lottery-editorial-reverse .l7lottery-editorial-media { order: 2; }
.l7lottery-editorial-card-balanced .l7lottery-editorial-media { display:flex; align-items:center; justify-content:center; min-height:0; background:#0d0a14; }
.l7lottery-editorial-card-balanced .l7lottery-editorial-media img { width:100%; height:auto; min-height:0; aspect-ratio:3/2; object-fit:contain; object-position:center; }
.l7lottery-editorial-card-balanced .l7lottery-editorial-copy p { max-width:66ch; }

.l7lottery-two-col { display: grid; grid-template-columns: 1fr; gap: 20px; }
.l7lottery-three-col { display: grid; grid-template-columns: 1fr; gap: 16px; }
.l7lottery-check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.l7lottery-check-list li { position: relative; padding-left: 28px; }
.l7lottery-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #79dfd7; font-weight: 900; }
.l7lottery-warning-list li::before { content: "!"; color: var(--l7lottery-accent); }

.l7lottery-breadcrumb { width: min(calc(100% - 32px), var(--l7lottery-container)); margin: 24px auto 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--l7lottery-muted); font-size: .9rem; }
.l7lottery-breadcrumb a { color: #9be9e3; text-decoration: none; }

.l7lottery-page-hero { padding: 34px 0 24px; }
.l7lottery-page-hero-inner { max-width: 850px; }
.l7lottery-page-content { padding: 24px 0 64px; }
.l7lottery-prose { max-width: 850px; }
.l7lottery-prose h2 { margin-top: 44px; }
.l7lottery-prose h3 { margin-top: 26px; }
.l7lottery-prose ul, .l7lottery-prose ol { padding-left: 1.25rem; }
.l7lottery-inline-note { margin: 24px 0; padding: 18px 20px; border-radius: 16px; border: 1px solid #496a65; background: rgba(15,143,134,.09); }
.l7lottery-security-note { border-color: #7a5b27; background: rgba(242,173,46,.07); }

.l7lottery-related-card { margin-top: 38px; }
.l7lottery-related-card h2 { font-size: 1.35rem; }
.l7lottery-related-links { display: flex; flex-wrap: wrap; gap: 9px; }
.l7lottery-related-links a { padding: 9px 11px; border-radius: 10px; background: rgba(15,143,134,.09); border: 1px solid rgba(111,216,207,.14); text-decoration: none; font-weight: 700; }

.l7lottery-legal-card { background: linear-gradient(145deg, rgba(15,143,134,.11), rgba(242,173,46,.05)), var(--l7lottery-legal); border-color: #385c59; }
.l7lottery-legal-card h3 { color: #b7f3ed; }

.l7lottery-faq-list { display: grid; gap: 12px; }
.l7lottery-faq-item { border: 1px solid var(--l7lottery-border); background: var(--l7lottery-card); border-radius: 16px; overflow: hidden; }
.l7lottery-faq-item summary { list-style: none; cursor: pointer; padding: 17px 50px 17px 18px; position: relative; font-weight: 800; }
.l7lottery-faq-item summary::-webkit-details-marker { display: none; }
.l7lottery-faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--l7lottery-accent); font-size: 1.4rem; }
.l7lottery-faq-item[open] summary::after { content: "−"; }
.l7lottery-faq-answer { padding: 0 18px 18px; color: #ddd2dc; }
.l7lottery-faq-answer p { margin: 0; }

.l7lottery-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; }
.l7lottery-table { width: 100%; min-width: 640px; border-collapse: collapse; }
.l7lottery-table th, .l7lottery-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--l7lottery-border); vertical-align: top; }
.l7lottery-lang-hi .l7lottery-table th, .l7lottery-lang-hi .l7lottery-table td { line-height: 1.7; }
.l7lottery-table th { color: #ffe2a7; background: rgba(242,173,46,.045); }

.l7lottery-search-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.l7lottery-search-form label { flex: 1 1 240px; }
.l7lottery-search-form input[type="search"] { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--l7lottery-border); background: var(--l7lottery-card); color: #fff; padding: 10px 14px; }
.l7lottery-search-result { padding: 20px 0; border-bottom: 1px solid var(--l7lottery-border); }
.l7lottery-search-result h2 { font-size: 1.4rem; }
.l7lottery-pagination { margin-top: 28px; }
.l7lottery-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.l7lottery-pagination a, .l7lottery-pagination span { padding: 8px 11px; border: 1px solid var(--l7lottery-border); border-radius: 10px; text-decoration: none; }

.l7lottery-article { padding: 34px 0 64px; }
.l7lottery-article-meta { color: var(--l7lottery-muted); font-size: .92rem; margin-bottom: 22px; }
.l7lottery-archive-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.l7lottery-archive-card { padding: 20px; border: 1px solid var(--l7lottery-border); background: var(--l7lottery-card); border-radius: var(--l7lottery-radius); }

/* =========================================================
   L7 Lottery — Enhanced bilingual footer
   ========================================================= */

.l7lottery-site-footer {
	margin-top: 56px;
	padding: 56px 0 24px;
	background:
		radial-gradient(
			circle at 8% 0%,
			rgba(15, 143, 134, 0.12),
			transparent 32%
		),
		radial-gradient(
			circle at 92% 5%,
			rgba(110, 49, 95, 0.14),
			transparent 34%
		),
		var(--l7lottery-footer);
	border-top: 1px solid var(--l7lottery-border);
	color: var(--l7lottery-text);
	overflow: hidden;
}

.l7lottery-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
	gap: 38px;
	align-items: start;
}

.l7lottery-footer-top > * {
	min-width: 0;
}

.l7lottery-footer-brand {
	min-width: 0;
}

.l7lottery-footer-brandline {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
	gap: 10px;
	color: var(--l7lottery-text);
	text-decoration: none;
	font-weight: 900;
}

.l7lottery-footer-logo {
	display: block;
	width: auto;
	max-width: min(230px, 100%);
	max-height: 70px;
	height: auto;
	object-fit: contain;
}

.l7lottery-footer-title {
	margin: 20px 0 10px;
	font-size: 1.08rem;
	line-height: 1.45;
	color: #fff0cf;
}

.l7lottery-footer-intro {
	max-width: 490px;
	margin: 0;
	color: #cfc2ce;
	font-size: 0.96rem;
	line-height: 1.75;
}

.l7lottery-footer-status {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 18px;
	padding: 8px 11px;
	max-width: 100%;
	border: 1px solid rgba(15, 143, 134, 0.28);
	border-radius: 999px;
	background: rgba(15, 143, 134, 0.07);
	color: #c9e8e4;
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.4;
}

.l7lottery-footer-status-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--l7lottery-primary);
	box-shadow: 0 0 0 4px rgba(15, 143, 134, 0.12);
}

.l7lottery-footer-block h2,
.l7lottery-site-footer h2 {
	margin: 0 0 15px;
	font-size: 1rem;
	line-height: 1.45;
	color: #fff0cf;
}

.l7lottery-footer-menu,
.l7lottery-footer-list {
	display: grid;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.l7lottery-footer-menu li,
.l7lottery-footer-list li {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.l7lottery-footer-menu a,
.l7lottery-footer-list a {
	position: relative;
	display: inline-flex;
	max-width: 100%;
	padding: 3px 0;
	color: #d9cfda;
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.55;
	overflow-wrap: normal;
	word-break: normal;
	transition:
		color 160ms ease,
		transform 160ms ease;
}

.l7lottery-footer-menu a::before,
.l7lottery-footer-list a::before {
	content: "";
	width: 0;
	height: 1px;
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--l7lottery-accent);
	transition: width 160ms ease;
}

.l7lottery-footer-divider {
	width: 100%;
	height: 1px;
	margin: 38px 0 26px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(242, 173, 46, 0.28),
		rgba(15, 143, 134, 0.32),
		transparent
	);
}

.l7lottery-footer-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.l7lottery-footer-trust-item {
	display: flex;
	align-items: flex-start;
	min-width: 0;
	gap: 14px;
	padding: 17px;
	border: 1px solid #332b3b;
	border-radius: 15px;
	background:
		linear-gradient(
			145deg,
			rgba(110, 49, 95, 0.08),
			rgba(15, 143, 134, 0.05)
		),
		#100d18;
}

.l7lottery-footer-trust-mark {
	display: inline-flex;
	flex: 0 0 42px;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(242, 173, 46, 0.42);
	border-radius: 12px;
	background: rgba(242, 173, 46, 0.08);
	color: var(--l7lottery-accent);
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1;
}

.l7lottery-footer-trust-item > div {
	min-width: 0;
}

.l7lottery-footer-trust-item strong {
	display: block;
	margin-bottom: 4px;
	color: #fff4dc;
	font-size: 0.9rem;
	line-height: 1.45;
}

.l7lottery-footer-trust-item p {
	margin: 0;
	color: #beb3bf;
	font-size: 0.82rem;
	line-height: 1.65;
}

.l7lottery-footer-notice {
	position: relative;
	margin-top: 24px;
	padding: 21px 22px;
	border: 1px solid #385c59;
	border-radius: 17px;
	background:
		linear-gradient(
			145deg,
			rgba(15, 143, 134, 0.12),
			rgba(242, 173, 46, 0.035)
		),
		var(--l7lottery-legal);
}

.l7lottery-footer-notice::before {
	content: "";
	position: absolute;
	top: 18px;
	bottom: 18px;
	left: 0;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: linear-gradient(
		to bottom,
		var(--l7lottery-primary),
		var(--l7lottery-accent)
	);
}

.l7lottery-footer-notice-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 11px;
	color: #d4f5f0;
}

.l7lottery-footer-notice-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	border-radius: 9px;
	background: rgba(15, 143, 134, 0.15);
	border: 1px solid rgba(15, 143, 134, 0.4);
	color: #aee9e3;
	font-size: 0.74rem;
	font-weight: 900;
}

.l7lottery-footer-notice p {
	margin: 0 0 9px;
	color: #c7d3d1;
	font-size: 0.86rem;
	line-height: 1.7;
}

.l7lottery-footer-notice p:last-child {
	margin-bottom: 0;
}

.l7lottery-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(68, 54, 79, 0.72);
}

.l7lottery-copyright,
.l7lottery-footer-bottom-note {
	margin: 0;
	color: #958b99;
	font-size: 0.78rem;
	line-height: 1.55;
}

.l7lottery-footer-bottom-note {
	max-width: 560px;
	text-align: right;
}


/* Mouse-capable devices only */
@media (hover: hover) and (pointer: fine) {

	.l7lottery-footer-menu a:hover,
	.l7lottery-footer-list a:hover {
		color: #ffffff;
		transform: translateX(2px);
	}

	.l7lottery-footer-menu a:hover::before,
	.l7lottery-footer-list a:hover::before {
		width: 100%;
	}
}


/* Tablet */
@media (max-width: 1100px) {

	.l7lottery-footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 36px;
	}

	.l7lottery-footer-brand {
		grid-column: 1 / -1;
	}

	.l7lottery-footer-intro {
		max-width: 680px;
	}

	.l7lottery-footer-trust {
		grid-template-columns: 1fr;
	}
}


/* Mobile */
@media (max-width: 640px) {

	.l7lottery-site-footer {
		margin-top: 42px;
		padding: 42px 0 20px;
	}

	.l7lottery-footer-top {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.l7lottery-footer-brand {
		grid-column: auto;
	}

	.l7lottery-footer-logo {
		max-width: 205px;
		max-height: 62px;
	}

	.l7lottery-footer-title {
		font-size: 1rem;
	}

	.l7lottery-footer-intro {
		font-size: 0.91rem;
		line-height: 1.75;
	}

	.l7lottery-footer-status {
		border-radius: 13px;
		align-items: flex-start;
	}

	.l7lottery-footer-divider {
		margin: 30px 0 22px;
	}

	.l7lottery-footer-trust {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.l7lottery-footer-trust-item {
		padding: 15px;
	}

	.l7lottery-footer-notice {
		padding: 18px 17px 18px 19px;
	}

	.l7lottery-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.l7lottery-footer-bottom-note {
		text-align: left;
	}
}


/* Small mobile */
@media (max-width: 480px) {

	.l7lottery-footer-top {
		gap: 25px;
	}

	.l7lottery-footer-trust-item {
		gap: 11px;
	}

	.l7lottery-footer-trust-mark {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.l7lottery-footer-notice {
		border-radius: 14px;
	}
}


/* Hindi / Devanagari typography safety */
html[lang="hi-IN"] .l7lottery-site-footer,
html[lang="hi-IN"] .l7lottery-site-footer a,
html[lang="hi-IN"] .l7lottery-site-footer p,
html[lang="hi-IN"] .l7lottery-site-footer h2,
html[lang="hi-IN"] .l7lottery-site-footer strong {
	font-family:
		"Noto Sans Devanagari",
		"Noto Sans",
		system-ui,
		sans-serif;
}

html[lang="hi-IN"] .l7lottery-footer-intro,
html[lang="hi-IN"] .l7lottery-footer-menu a,
html[lang="hi-IN"] .l7lottery-footer-list a,
html[lang="hi-IN"] .l7lottery-footer-trust-item p,
html[lang="hi-IN"] .l7lottery-footer-notice p {
	line-height: 1.85;
}


/* Accessibility */
.l7lottery-site-footer a:focus-visible {
	outline: 3px solid rgba(242, 173, 46, 0.75);
	outline-offset: 4px;
	border-radius: 4px;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

	.l7lottery-site-footer *,
	.l7lottery-site-footer *::before,
	.l7lottery-site-footer *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
@media (min-width: 641px) {
  .l7lottery-container, .l7lottery-narrow, .l7lottery-breadcrumb { width: min(calc(100% - 48px), var(--l7lottery-container)); }
  .l7lottery-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l7lottery-bento-primary { grid-column: span 2; }
  .l7lottery-three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l7lottery-header-language { display: block; }
}

@media (min-width: 768px) {
  .l7lottery-section { padding: 72px 0; }
  .l7lottery-hero { padding: 64px 0 48px; }
  .l7lottery-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l7lottery-three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .l7lottery-editorial-card { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; }
  .l7lottery-editorial-card.l7lottery-editorial-reverse .l7lottery-editorial-copy { order: 2; }
  .l7lottery-editorial-card.l7lottery-editorial-reverse .l7lottery-editorial-media { order: 1; }
  .l7lottery-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .l7lottery-footer-grid { grid-template-columns: 1.25fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .l7lottery-editorial-card-balanced { grid-template-columns: minmax(0, 1.03fr) minmax(440px, .97fr); }
  .l7lottery-editorial-card-balanced .l7lottery-editorial-copy { padding: 32px 36px; }
  .l7lottery-hero-grid { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); gap: 44px; }
  .l7lottery-bento-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .l7lottery-bento-card { grid-column: span 4; }
  .l7lottery-bento-primary { grid-column: span 7; grid-row: span 2; padding: 30px; }
  .l7lottery-bento-wide { grid-column: span 5; }
  .l7lottery-bento-small { grid-column: span 5; }
}

@media (min-width: 1320px) {
  .l7lottery-header-inner.l7lottery-container { width: min(calc(100% - 40px), var(--l7lottery-header-container)); }
  .l7lottery-header-inner { grid-template-columns: minmax(150px, auto) minmax(0, 1fr) auto; gap: 16px; }
  .l7lottery-desktop-nav { display: block; width: 100%; justify-self: stretch; }
  .l7lottery-desktop-cta { display: block; }
  .l7lottery-menu-toggle { display: none; }
}

@media (min-width: 1500px) {
  .l7lottery-menu { gap: 4px; }
  .l7lottery-menu a { padding-inline: 9px; font-size: .9rem; }
  .l7lottery-desktop-cta .l7lottery-button { padding-inline: 18px; font-size: .94rem; }
}

@media (min-width: 1200px) {
  .l7lottery-hero-grid { gap: 62px; }
  .l7lottery-editorial-copy { padding: 34px; }
}

@media (max-width: 640px) {
  .l7lottery-container, .l7lottery-narrow, .l7lottery-breadcrumb { width: min(calc(100% - 28px), var(--l7lottery-container)); }
  .l7lottery-header-inner.l7lottery-container { width: min(calc(100% - 24px), var(--l7lottery-header-container)); }
  .l7lottery-brand-name { font-size: .95rem; }
  .l7lottery-header-language { display: none; }
  .l7lottery-actions .l7lottery-button { width: 100%; }
  .l7lottery-bento-grid, .l7lottery-two-col, .l7lottery-three-col, .l7lottery-footer-grid { grid-template-columns: 1fr; }
  .l7lottery-editorial-card { grid-template-columns: 1fr; }
  .l7lottery-editorial-copy, .l7lottery-bento-card, .l7lottery-feature-card, .l7lottery-related-card, .l7lottery-legal-card, .l7lottery-table-card { padding: 19px; }
  .l7lottery-site-footer { padding-top: 42px; }
}

@media (max-width: 480px) {
  :root { --l7lottery-header-height: 70px; }
  .l7lottery-container, .l7lottery-narrow, .l7lottery-breadcrumb { width: min(calc(100% - 24px), var(--l7lottery-container)); }
  .l7lottery-section { padding: 48px 0; }
  .l7lottery-hero { padding-top: 36px; }
  .l7lottery-brand-image { max-width: 158px; }
  .l7lottery-mobile-drawer { width: min(92vw, 360px); }
}

@media (hover: hover) and (pointer: fine) {
  .l7lottery-bento-card, .l7lottery-editorial-card, .l7lottery-feature-card, .l7lottery-related-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
  .l7lottery-bento-card:hover, .l7lottery-editorial-card:hover, .l7lottery-feature-card:hover, .l7lottery-related-card:hover { transform: translateY(-3px); border-color: #5b736f; box-shadow: 0 18px 42px rgba(0,0,0,.18); }
  .l7lottery-editorial-media img, .l7lottery-hero-media img { transition: transform .24s ease; }
  .l7lottery-editorial-card:hover .l7lottery-editorial-media img { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* =========================================================
   Prediction dropdown — real WordPress Page ID menu items
   ========================================================= */
@media (min-width: 1320px) {
  .l7lottery-desktop-nav .l7lottery-menu > .menu-item-has-children {
    position: relative;
  }

  .l7lottery-desktop-nav .l7lottery-menu > .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .l7lottery-desktop-nav .l7lottery-menu > .menu-item-has-children > a::after {
    content: "▾";
    font-size: .72em;
    color: #ffd681;
    transform: translateY(-1px);
  }

  .l7lottery-desktop-nav .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    z-index: 1200;
    min-width: 180px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--l7lottery-border);
    border-radius: 14px;
    background: #17111f;
    box-shadow: 0 18px 42px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  }

  .l7lottery-desktop-nav .menu-item-has-children:hover > .sub-menu,
  .l7lottery-desktop-nav .menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .l7lottery-desktop-nav .sub-menu li {
    width: 100%;
  }

  .l7lottery-desktop-nav .sub-menu a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: .86rem;
    white-space: nowrap;
  }

  .l7lottery-desktop-nav .sub-menu a:hover,
  .l7lottery-desktop-nav .sub-menu .current-menu-item > a {
    background: rgba(15,143,134,.16);
  }
}

/* Drawer keeps nested prediction links visible without hover dependency. */
.l7lottery-menu-mobile .sub-menu {
  display: grid;
  gap: 5px;
  margin: 6px 0 2px 14px;
  padding: 0 0 0 10px;
  list-style: none;
  border-left: 2px solid rgba(242,173,46,.28);
}

.l7lottery-menu-mobile .sub-menu a {
  padding: 10px 12px;
  font-size: .9rem;
  background: rgba(15,143,134,.055);
}

/* v1.1.2: prediction menu database-repair/front-end fallback */
@media (min-width: 1320px) {
  .l7lottery-prediction-menu-fallback > a { color: #fff4d4; }
}


/* =========================================================
   v1.1.4 — mobile header / viewport drawer hardening
   ========================================================= */
html,
body {
  width: 100%;
  max-width: 100%;
}

html.l7lottery-drawer-open,
body.l7lottery-drawer-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.l7lottery-site-header {
  width: 100%;
  max-width: 100%;
  isolation: isolate;
}

.l7lottery-drawer-overlay,
.l7lottery-mobile-drawer {
  position: fixed !important;
  margin: 0 !important;
  max-width: 100vw !important;
  transform-style: flat;
}

.l7lottery-drawer-overlay {
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 2147482000 !important;
}

.l7lottery-mobile-drawer {
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(88vw, 380px) !important;
  height: 100vh !important;
  height: 100dvh !important;
  min-height: 0 !important;
  z-index: 2147482100 !important;
  padding:
    max(18px, env(safe-area-inset-top, 0px))
    max(18px, env(safe-area-inset-right, 0px))
    max(22px, env(safe-area-inset-bottom, 0px))
    18px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  transform: translate3d(105%, 0, 0) !important;
  will-change: transform;
}

.l7lottery-mobile-drawer.is-open {
  transform: translate3d(0, 0, 0) !important;
}

.l7lottery-drawer-head,
.l7lottery-drawer-language,
.l7lottery-drawer-nav,
.l7lottery-mobile-cta,
.l7lottery-menu-mobile,
.l7lottery-menu-mobile li,
.l7lottery-menu-mobile a,
.l7lottery-menu-mobile button {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.l7lottery-drawer-head {
  position: sticky;
  top: calc(-1 * max(18px, env(safe-area-inset-top, 0px)));
  z-index: 3;
  margin:
    calc(-1 * max(18px, env(safe-area-inset-top, 0px)))
    calc(-1 * max(18px, env(safe-area-inset-right, 0px)))
    0
    -18px;
  padding:
    max(18px, env(safe-area-inset-top, 0px))
    max(18px, env(safe-area-inset-right, 0px))
    14px
    18px;
  background: #17111f;
}

.l7lottery-drawer-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.l7lottery-drawer-close {
  flex: 0 0 44px;
  min-width: 44px;
}

/* Predictions is a navigation group, not a fake page link. */
.l7lottery-submenu-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  color: #ede4ec;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.l7lottery-submenu-chevron {
  display: inline-block;
  margin-left: auto;
  transition: transform .18s ease;
}

.l7lottery-menu-mobile .l7lottery-submenu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 10px;
  background: rgba(255,255,255,.025);
  font-weight: 700;
  line-height: 1.3;
}

.l7lottery-menu-mobile .sub-menu {
  display: none;
  width: calc(100% - 8px);
  margin: 6px 0 2px 8px;
  padding: 0 0 0 9px;
}

.l7lottery-menu-mobile .menu-item-has-children.is-submenu-open > .sub-menu {
  display: grid;
}

.l7lottery-menu-mobile .menu-item-has-children.is-submenu-open > .l7lottery-submenu-toggle .l7lottery-submenu-chevron {
  transform: rotate(180deg);
}

@media (max-width: 1319px) {
  .l7lottery-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
  }

  .l7lottery-brand {
    grid-column: 1 !important;
    min-width: 0 !important;
    overflow: hidden;
  }

  .l7lottery-desktop-nav {
    display: none !important;
  }

  .l7lottery-header-actions {
    grid-column: 2 !important;
    min-width: 46px !important;
    flex: 0 0 auto;
  }

  .l7lottery-brand-link {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .l7lottery-brand-link .custom-logo,
  .l7lottery-brand-image {
    width: auto !important;
    max-width: min(176px, 52vw) !important;
    max-height: 46px !important;
    object-fit: contain;
  }

  .l7lottery-menu-toggle {
    display: grid !important;
    flex: 0 0 46px;
    min-width: 46px !important;
  }
}

@media (max-width: 640px) {
  :root {
    --l7lottery-header-height: 68px;
  }

  .l7lottery-header-inner.l7lottery-container {
    width: calc(100% - 20px) !important;
    max-width: none !important;
    margin-inline: 10px !important;
  }

  .l7lottery-site-header,
  .l7lottery-header-inner {
    min-height: var(--l7lottery-header-height);
  }

  .l7lottery-brand-link .custom-logo,
  .l7lottery-brand-image {
    max-width: min(154px, 49vw) !important;
    max-height: 42px !important;
  }

  .l7lottery-menu-toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 12px;
  }

  .l7lottery-mobile-drawer {
    width: min(92vw, 360px) !important;
  }

  .l7lottery-menu-mobile {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }

  .l7lottery-menu-mobile > li {
    display: block !important;
  }

  .l7lottery-menu-mobile a,
  .l7lottery-menu-mobile .l7lottery-submenu-toggle {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}

@media (max-width: 380px) {
  .l7lottery-header-inner.l7lottery-container {
    width: calc(100% - 16px) !important;
    margin-inline: 8px !important;
  }

  .l7lottery-brand-link .custom-logo,
  .l7lottery-brand-image {
    max-width: 138px !important;
  }

  .l7lottery-mobile-drawer {
    width: 94vw !important;
    padding-left: 14px !important;
  }
}

@media (min-width: 1320px) {
  .l7lottery-desktop-nav .l7lottery-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 7px;
    border-radius: 10px;
    background: transparent;
    color: #ede4ec;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
  }

  .l7lottery-desktop-nav .menu-item-has-children:hover > .sub-menu,
  .l7lottery-desktop-nav .menu-item-has-children:focus-within > .sub-menu,
  .l7lottery-desktop-nav .menu-item-has-children.is-submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .l7lottery-mobile-drawer,
  .l7lottery-drawer-overlay,
  .l7lottery-submenu-chevron {
    transition: none !important;
  }
}
