/*
Theme Name: 1 Lottery
Theme URI: https://1lottery.site/
Author: 1 Lottery
Description: Bilingual white and red lottery information theme for 1 Lottery.
Version: 1.0.0
Text Domain: one-lottery
*/

:root {
  --ol-red: #e11d48;
  --ol-red-dark: #be123c;
  --ol-red-deep: #881337;
  --ol-red-light: #fb7185;
  --ol-bg: #ffffff;
  --ol-soft: #fff1f2;
  --ol-soft-2: #fff7f8;
  --ol-border: rgba(225, 29, 72, 0.14);
  --ol-text: #111827;
  --ol-muted: #667085;
  --ol-card: rgba(255, 255, 255, 0.92);
  --ol-shadow: 0 22px 60px rgba(190, 18, 60, 0.16);
  --ol-shadow-soft: 0 14px 34px rgba(17, 24, 39, 0.07);
  --ol-radius: 20px;
  --ol-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ol-text);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 29, 72, 0.08), transparent 28%),
    radial-gradient(circle at 100% 8%, rgba(251, 113, 133, 0.08), transparent 24%),
    #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.72;
}

body.ol-lang-hi {
  font-family: "Noto Sans Devanagari", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

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

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

.ol-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--ol-border);
  backdrop-filter: blur(18px);
}

.ol-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.ol-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.ol-logo img {
  width: 174px;
  max-height: 58px;
  object-fit: contain;
}

.ol-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ol-nav a {
  position: relative;
  padding: 10px 12px;
  border-radius: 999px;
  color: #374151;
  font-size: 14px;
  font-weight: 800;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.ol-nav a:hover,
.ol-nav a.ol-active {
  color: var(--ol-red-dark);
  background: var(--ol-soft);
  transform: translateY(-1px);
}

.ol-lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ol-lang-switch a {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ol-border);
  font-size: 20px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.ol-lang-switch a.ol-active {
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  border-color: transparent;
}

.ol-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  box-shadow: 0 12px 26px rgba(225, 29, 72, 0.22);
  font-size: 24px;
  cursor: pointer;
}

.ol-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 62px;
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 29, 72, 0.18), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fff5f6 48%, #fff 100%);
}

.ol-hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.08);
  pointer-events: none;
}

.ol-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 46px;
  align-items: center;
}

.ol-eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ol-red-dark);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--ol-border);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.ol-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.ol-lead {
  margin: 0;
  max-width: 760px;
  color: #4b5563;
  font-size: 18px;
}

.ol-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ol-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.ol-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  box-shadow: 0 16px 34px rgba(225,29,72,0.28);
}

.ol-btn-soft {
  color: var(--ol-red-dark);
  background: #fff;
  border-color: var(--ol-border);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

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



.ol-hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(225,29,72,0.16);
  box-shadow: var(--ol-shadow);
}

.ol-section {
  padding: 62px 0;
}

.ol-section-soft {
  background: linear-gradient(180deg, var(--ol-soft-2), #fff);
}

.ol-section-title {
  margin: 0 0 12px;
  font-size: clamp(27px, 3vw, 44px);
  line-height: 1.18;
}

.ol-section-desc {
  margin: 0 0 28px;
  max-width: 880px;
  color: var(--ol-muted);
}

.ol-grid {
  display: grid;
  gap: 22px;
}

.ol-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.ol-card {
  position: relative;
  overflow: hidden;
  background: var(--ol-card);
  border: 1px solid var(--ol-border);
  border-radius: var(--ol-radius);
  padding: 26px;
  box-shadow: var(--ol-shadow-soft);
}

.ol-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ol-red), var(--ol-red-light));
  opacity: .9;
}

.ol-feature-card {
  min-height: 100%;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ol-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 29, 72, 0.28);
  box-shadow: var(--ol-shadow);
}

.ol-card h2,
.ol-card h3 {
  margin-top: 0;
  line-height: 1.25;
}

.ol-card h3 {
  font-size: 22px;
}

.ol-card p:last-child {
  margin-bottom: 0;
}

.ol-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--ol-red-dark);
  background: var(--ol-soft);
  border: 1px solid rgba(225, 29, 72, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.ol-content {
  font-size: 17px;
}

.ol-content h2 {
  margin: 38px 0 12px;
  font-size: 31px;
  line-height: 1.24;
}

.ol-content h2:first-child {
  margin-top: 0;
}

.ol-content p {
  margin: 0 0 16px;
  color: #374151;
}

.ol-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--ol-border);
  background: #fff;
  box-shadow: var(--ol-shadow-soft);
}

.ol-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.ol-table th,
.ol-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid var(--ol-border);
}

.ol-table th {
  color: var(--ol-red-dark);
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  font-weight: 900;
}

.ol-table tr:hover td {
  background: #fff7f8;
}

.ol-table tr:last-child td {
  border-bottom: 0;
}

.ol-result-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ol-stat {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff, #fff7f8);
  border: 1px solid var(--ol-border);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
}

.ol-stat::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.08);
}

.ol-stat span {
  position: relative;
  display: block;
  color: var(--ol-muted);
  font-size: 13px;
  font-weight: 800;
}

.ol-stat strong {
  position: relative;
  display: block;
  margin-top: 6px;
  color: var(--ol-red-dark);
  font-size: 23px;
  line-height: 1.22;
  word-break: break-word;
}

.ol-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ol-ball {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 0 -8px 12px rgba(0,0,0,.16), 0 10px 20px rgba(17,24,39,.12);
}

.ol-ball-red {
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.ol-ball-green {
  background: linear-gradient(135deg, #34d399, #059669);
}

.ol-ball-violet {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.ol-faq details {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--ol-border);
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 24px rgba(17,24,39,.05);
}

.ol-faq details + details {
  margin-top: 13px;
}

.ol-faq summary {
  cursor: pointer;
  color: var(--ol-text);
  font-weight: 900;
}

.ol-faq p {
  color: var(--ol-muted);
}

.ol-contact-box {
  display: grid;
  gap: 16px;
}

.ol-contact-row {
  padding: 17px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--ol-border);
  box-shadow: 0 10px 22px rgba(17,24,39,.04);
}

.ol-footer {
  padding: 46px 0;
  color: #fff;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.12), transparent 28%),
    linear-gradient(135deg, var(--ol-red-deep), var(--ol-red-dark));
}

.ol-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
}

.ol-footer-logo img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.ol-footer p {
  color: #ffe4e6;
}

.ol-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.ol-footer a {
  color: #ffe4e6;
}

.ol-copy {
  margin-top: 24px;
  color: #ffe4e6;
  font-size: 14px;
}

.ol-float-right {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ol-float-right a,
.ol-float-right button {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(17,24,39,.18);
  cursor: pointer;
  transition: transform .18s ease;
}

.ol-float-right a:hover,
.ol-float-right button:hover {
  transform: translateY(-3px);
}

.ol-float-right img {
  width: 52px;
  height: 52px;
  object-fit: cover;
}

@media (max-width: 1080px) {
  .ol-nav a {
    padding: 9px 8px;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .ol-header-inner {
    min-height: 68px;
  }

  .ol-menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .ol-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--ol-border);
    box-shadow: var(--ol-shadow);
  }

  .ol-nav.ol-open {
    display: flex;
  }

  .ol-nav a {
    border-radius: 14px;
    font-size: 15px;
  }

  .ol-hero-grid,
  .ol-grid-2,
  .ol-grid-3,
  .ol-footer-grid {
    grid-template-columns: 1fr;
  }

  .ol-footer-links {
    justify-content: flex-start;
  }

  .ol-result-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .ol-container {
    width: min(100% - 22px, var(--ol-max));
  }

  .ol-logo img {
    width: 145px;
  }

  .ol-hero {
    padding: 38px 0;
  }

  .ol-hero h1 {
    font-size: 36px;
  }

  .ol-lead {
    font-size: 16px;
  }

  .ol-section {
    padding: 42px 0;
  }

  .ol-card {
    padding: 19px;
    border-radius: 18px;
  }

  .ol-result-panel {
    grid-template-columns: 1fr;
  }

  .ol-table {
    min-width: 620px;
  }

  .ol-float-right {
    right: 12px;
    bottom: 16px;
  }

  .ol-float-right a,
  .ol-float-right button,
  .ol-float-right img {
    width: 46px;
    height: 46px;
  }
}
/* ===== Premium Header Upgrade ===== */
.ol-header {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,248,.94));
  box-shadow: 0 10px 30px rgba(17,24,39,.05);
}

.ol-header-inner {
  position: relative;
}

.ol-logo {
  padding: 6px 0;
}

.ol-logo img {
  filter: drop-shadow(0 8px 16px rgba(225,29,72,.12));
}

.ol-nav {
  padding: 6px;
  border: 1px solid rgba(225,29,72,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 10px 28px rgba(17,24,39,.05);
}

.ol-nav a {
  isolation: isolate;
}

.ol-nav a.ol-active {
  color: #fff;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  box-shadow: 0 10px 20px rgba(225,29,72,.22);
}

.ol-nav a:hover:not(.ol-active) {
  color: var(--ol-red-dark);
  background: #fff1f2;
}

.ol-lang-switch {
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  border: 1px solid rgba(225,29,72,.12);
  box-shadow: 0 10px 26px rgba(17,24,39,.05);
}

/* ===== Premium Hero Upgrade ===== */
.ol-hero {
  border-bottom: 1px solid rgba(225,29,72,.08);
}

.ol-hero h1 {
  max-width: 760px;
}

.ol-hero .ol-actions {
  align-items: center;
}

.ol-btn-primary {
  position: relative;
  overflow: hidden;
}

.ol-btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.26), transparent);
  transform: translateX(-100%);
  transition: transform .6s ease;
}

.ol-btn-primary:hover::after {
  transform: translateX(100%);
}

/* ===== Content Cards For All Pages ===== */
.ol-content-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff7f8 45%, #fff 100%);
}

.ol-content-grid {
  display: grid;
  gap: 22px;
}

.ol-content-card {
  padding: 30px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,247,248,.78));
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 18px 44px rgba(17,24,39,.07);
}

.ol-content-card::before {
  height: 5px;
  background: linear-gradient(90deg, var(--ol-red), #fb7185, #fecdd3);
}

.ol-content-number {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  box-shadow: 0 12px 26px rgba(225,29,72,.24);
  font-weight: 900;
}

.ol-content-card h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.ol-content-card p {
  margin: 0 0 15px;
  color: #374151;
}

.ol-content-card p:last-child {
  margin-bottom: 0;
}

.ol-content-card:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,241,242,.92));
}

.ol-content-card:nth-child(even) .ol-content-number {
  background: linear-gradient(135deg, #fb7185, var(--ol-red));
}

/* ===== Main Section Cards Upgrade ===== */
.ol-grid .ol-feature-card {
  padding: 28px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #fff, #fff7f8);
}

.ol-grid .ol-feature-card h3 {
  margin-bottom: 10px;
  font-size: 23px;
}

.ol-grid .ol-feature-card p {
  color: #4b5563;
}

.ol-grid .ol-feature-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(225,29,72,.07);
}

/* ===== Result Areas Upgrade ===== */
.ol-result-panel {
  margin-bottom: 8px;
}

.ol-stat {
  min-height: 118px;
}

.ol-table-wrap {
  box-shadow: 0 16px 40px rgba(17,24,39,.07);
}

.ol-table td:last-child {
  font-weight: 800;
  color: var(--ol-red-dark);
}

/* ===== Premium Footer Upgrade ===== */
.ol-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  margin-top: 20px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.16), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(135deg, #70122e 0%, #be123c 54%, #e11d48 100%);
}

.ol-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .35;
}

.ol-footer .ol-container {
  position: relative;
}

.ol-footer-grid {
  align-items: start;
}

.ol-footer-logo {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
}

.ol-footer-logo img {
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(0,0,0,.15));
}

.ol-footer p {
  max-width: 620px;
  margin: 0;
  color: rgba(255,255,255,.86);
}

.ol-footer-links {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}

.ol-footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.10);
  transition: background .18s ease, transform .18s ease;
}

.ol-footer-links a:hover {
  background: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

.ol-copy {
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.78);
}

/* ===== Mobile Menu Upgrade ===== */
@media (max-width: 980px) {
  .ol-nav {
    border-radius: 22px;
    padding: 12px;
    background: rgba(255,255,255,.98);
  }

  .ol-nav a.ol-active {
    border-radius: 14px;
  }

  .ol-lang-switch {
    margin-left: 0;
  }

  .ol-content-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .ol-header-inner {
    gap: 10px;
  }

  .ol-lang-switch a {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .ol-content-grid {
    gap: 18px;
  }

  .ol-content-card {
    padding: 20px;
    border-radius: 18px;
  }

  .ol-content-number {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .ol-footer-links {
    padding: 14px;
    border-radius: 18px;
  }
}
.ol-home-card {
  min-height: 245px;
}

.ol-home-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ol-home-card-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark));
  box-shadow: 0 12px 26px rgba(225,29,72,.22);
  font-weight: 900;
}

.ol-home-card h3,
.ol-home-card p {
  position: relative;
  z-index: 1;
}

.ol-home-card h3 {
  margin-top: 22px;
}
/* ===== Typography Premium Upgrade ===== */
body {
  font-size: 16px;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:not(.ol-lang-hi) {
  font-family: Inter, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

body.ol-lang-hi {
  font-family: "Noto Sans Devanagari", "Mukta", Arial, Helvetica, sans-serif;
}

.ol-hero h1,
.ol-section-title,
.ol-content-card h2,
.ol-card h2,
.ol-card h3,
.ol-stat strong {
  letter-spacing: 0;
  color: #101828;
}

.ol-hero h1 {
  font-weight: 950;
  text-wrap: balance;
}

.ol-lead {
  font-size: 19px;
  line-height: 1.82;
  color: #475467;
  max-width: 780px;
}

.ol-section-title {
  font-weight: 950;
  text-wrap: balance;
}

.ol-section-desc {
  font-size: 17px;
  line-height: 1.78;
  color: #667085;
}

.ol-card h2,
.ol-card h3 {
  font-weight: 930;
  text-wrap: balance;
}

.ol-card p {
  font-size: 16.5px;
  line-height: 1.82;
  color: #475467;
}

.ol-content-section {
  padding-top: 68px;
  padding-bottom: 68px;
}

.ol-content-grid {
  gap: 26px;
}

.ol-content-card {
  padding: 34px 36px;
}

.ol-content-card h2 {
  max-width: 860px;
  margin-bottom: 18px;
  font-weight: 950;
}

.ol-content-card p {
  max-width: 980px;
  font-size: 17px;
  line-height: 1.92;
  color: #344054;
}

.ol-content-card p + p {
  margin-top: 14px;
}

.ol-content-card p:first-of-type {
  font-size: 17.5px;
  color: #1f2937;
}

.ol-content-number {
  font-size: 15px;
  letter-spacing: .04em;
}

.ol-badge {
  letter-spacing: .02em;
}

.ol-nav a,
.ol-btn,
.ol-lang-switch a,
.ol-footer-links a {
  letter-spacing: 0;
}

.ol-table th {
  font-size: 14px;
  letter-spacing: .01em;
}

.ol-table td {
  font-size: 15.5px;
  color: #344054;
}

.ol-faq summary {
  font-size: 17px;
  line-height: 1.5;
}

.ol-faq p {
  font-size: 16.5px;
  line-height: 1.82;
}

.ol-footer p {
  font-size: 16px;
  line-height: 1.8;
}

body.ol-lang-hi .ol-lead {
  line-height: 1.95;
}

body.ol-lang-hi .ol-card p,
body.ol-lang-hi .ol-content-card p,
body.ol-lang-hi .ol-faq p,
body.ol-lang-hi .ol-section-desc {
  line-height: 2.02;
}



/* ===== Article Reading Rhythm ===== */
.ol-content-card {
  isolation: isolate;
}

.ol-content-card h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ol-red), #fb7185);
}

.ol-content-card p {
  position: relative;
}

.ol-content-card p:not(:last-child) {
  margin-bottom: 0;
}

/* ===== Better Small Screen Reading ===== */

.ol-footer-logo img {
  filter: none !important;
}
.ol-active-period {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ol-red), var(--ol-red-dark)) !important;
  border-color: transparent !important;
}

.ol-wingo-table .ol-ball {
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.ol-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.ol-status-win {
  color: #047857;
  background: #d1fae5;
}

.ol-status-wrong {
  color: #be123c;
  background: #ffe4e6;
}
/* ===== WinGo Period Switch Premium ===== */
.ol-period-switch {
  width: 100%;
  margin: 0 0 24px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, #fff, #fff7f8);
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 14px 32px rgba(17,24,39,.06);
}

.ol-period-btn {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  color: #be123c;
  background: transparent;
  font-weight: 950;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

.ol-period-btn span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ol-period-btn:hover {
  transform: translateY(-1px);
  background: #fff;
  box-shadow: 0 10px 22px rgba(17,24,39,.06);
}

.ol-period-btn.ol-active-period {
  color: #fff !important;
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  box-shadow: 0 14px 28px rgba(225,29,72,.25);
}

.ol-period-btn.ol-active-period:hover {
  transform: translateY(-1px);
}

@media (max-width: 560px) {
  .ol-period-switch {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-radius: 18px;
  }

  .ol-period-btn {
    min-height: 46px;
    border-radius: 14px;
  }
}
/* ===== Prize Numbers Responsive Layout ===== */
.ol-prize-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.ol-prize-row {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #fff7f8);
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
}

.ol-prize-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.ol-prize-head h3 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.25;
}

.ol-prize-head span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid rgba(225,29,72,.12);
  font-size: 13px;
  font-weight: 900;
}

.ol-prize-row h4 {
  margin: 18px 0 10px;
  color: #be123c;
  font-size: 15px;
  font-weight: 950;
}

.ol-number-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  min-width: 0;
}

.ol-number-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #9f1239;
  background: #fff;
  border: 1px solid rgba(225,29,72,.18);
  box-shadow: 0 8px 18px rgba(17,24,39,.05);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
}

.ol-number-tag:nth-child(4n) {
  color: #047857;
  border-color: rgba(5,150,105,.18);
  background: #ecfdf5;
}

.ol-number-tag:nth-child(5n) {
  color: #6d28d9;
  border-color: rgba(124,58,237,.18);
  background: #f5f3ff;
}

/* ===== Guessing Numbers ===== */
.ol-guessing-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(225,29,72,.10), transparent 28%),
    linear-gradient(180deg, #fff, #fff7f8);
}

.ol-guessing-card h2 {
  margin-bottom: 8px;
}

.ol-guessing-card p {
  color: #667085;
  margin-top: 0;
}

.ol-guessing-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.ol-guessing-number {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #be123c);
  box-shadow: inset 0 -7px 12px rgba(0,0,0,.14), 0 10px 20px rgba(225,29,72,.18);
  font-size: 17px;
  font-weight: 950;
}

.ol-guessing-number:nth-child(3n) {
  background: linear-gradient(135deg, #34d399, #059669);
}

.ol-guessing-number:nth-child(4n) {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

.ol-guessing-updated {
  margin-top: 16px;
  color: #667085;
  font-size: 14px;
  font-weight: 800;
}

/* ===== History Cards Responsive ===== */
.ol-history-block {
  margin-top: 32px;
}

.ol-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ol-history-card {
  padding: 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 12px 28px rgba(17,24,39,.05);
}

.ol-history-card h3 {
  margin: 4px 0 12px;
  font-size: 18px;
  line-height: 1.3;
}

.ol-history-number {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  color: #be123c;
  background: #fff1f2;
  border: 1px solid rgba(225,29,72,.14);
  font-weight: 950;
  word-break: break-word;
}

@media (max-width: 760px) {
  .ol-prize-row {
    padding: 18px;
    border-radius: 18px;
  }

  .ol-prize-head {
    display: grid;
    gap: 10px;
  }

  .ol-prize-head span {
    width: fit-content;
  }

  .ol-number-tag {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 14px;
  }

  .ol-guessing-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ol-guessing-number {
    min-height: 40px;
    font-size: 15px;
  }

  .ol-history-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== WinGo History Responsive Cards ===== */
.ol-wingo-history-block {
  margin-top: 30px;
}

.ol-wingo-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ol-wingo-history-card {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fff7f8);
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 12px 28px rgba(17,24,39,.05);
}

.ol-wingo-history-top {
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ol-wingo-history-top .ol-badge {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.ol-wingo-history-main {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ol-wingo-history-main h3 {
  margin: 0 0 4px;
  color: #101828;
  font-size: 24px;
  line-height: 1.2;
}

.ol-wingo-history-main p {
  margin: 0;
  color: #667085;
  overflow-wrap: anywhere;
}

.ol-wingo-history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.ol-wingo-history-meta span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #fff;
  border: 1px solid rgba(225,29,72,.14);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .ol-wingo-history-grid {
    grid-template-columns: 1fr;
  }

  .ol-wingo-history-top {
    display: grid;
    gap: 8px;
  }

  .ol-wingo-history-main h3 {
    font-size: 22px;
  }
}
/* ===== Clean White Footer Upgrade ===== */
.ol-footer {
  position: relative;
  overflow: hidden;
  padding: 54px 0 38px;
  margin-top: 24px;
  color: #111827;
  background:
    radial-gradient(circle at 8% 0%, rgba(225,29,72,.08), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fff7f8 100%) !important;
  border-top: 1px solid rgba(225,29,72,.12);
}

.ol-footer::before {
  display: none !important;
}

.ol-footer-grid {
  align-items: stretch;
  gap: 28px;
}

.ol-footer-logo {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 14px 34px rgba(17,24,39,.06);
}

.ol-footer-logo img {
  width: 160px;
  filter: none !important;
}

.ol-footer p {
  max-width: 680px;
  margin: 0;
  color: #475467 !important;
  font-size: 17px;
  line-height: 1.85;
}

.ol-footer-links {
  padding: 22px;
  border-radius: 24px;
  background: #fff !important;
  border: 1px solid rgba(225,29,72,.14);
  box-shadow: 0 18px 42px rgba(17,24,39,.07);
}

.ol-footer-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: #be123c !important;
  background: #fff1f2 !important;
  border: 1px solid rgba(225,29,72,.12);
  font-weight: 850;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.ol-footer-links a:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  transform: translateY(-2px);
}

.ol-copy {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(225,29,72,.12) !important;
  color: #667085 !important;
  font-size: 15px;
}

@media (max-width: 980px) {
  .ol-footer-grid {
    grid-template-columns: 1fr;
  }

  .ol-footer-links {
    justify-content: flex-start;
  }
}