/* CSS Variables */
:root {
  --primary-color: #673de6;

  --background: #f5f5ff;
  --surface: #f8f9fa;
  --text-primary: #1d1d1f;
  --text-secondary: #5d5d5d;
  --border-color: #d2d2d7;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
  --blur-bg: #eaeaead6;
  --max-width: 1200px;
  --border-radius: 12px;
  --bg-soft-transparent: rgba(255, 255, 255, 0.8);
  --tableShadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.navbar {
  background-color: var(--bg-soft-transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 5px 42px 0 #00000014;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  border: 3px solid var(--border-color);
  border-top: none;
  z-index: 90;
  margin-bottom: 3em;
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: 0px 0px 1em 1em;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo-text {
  line-height: 25px;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: scale 0.2s ease;
}
.nav-logo:hover {
  text-decoration: none;
}

.nav-logo img {
  height: 50px;
}

.logo_headline {
    z-index:55;
  font-size: 30px;
  font-weight: bold;
  background: linear-gradient(
    70deg,
    #683ee7,
    #1f1345,
    #2f1c6b,
    #fe9924,
    #fea932
  );
  background-size: 1000% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 8s ease infinite;
  margin-bottom: -5px;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.logo_tagline {
  font-size: 12px;
  color: #52565e;
}

.nav-menu {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 400;

  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 4px;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);

  transform-origin: center;
}

.mobile-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

#fileData {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--tableShadow);
}

#fileData td,
#fileData th {
  border: 1px solid var(--border-color);
  padding: 8px;
}

#fileData tr {
  background-color: var(--background);
}

#fileData tr:nth-child(even) {
  background-color: var(--surface);
}

#fileData th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
}

#fileData a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  color: var(--text-primary);
}

#fileData a:hover {
  color: var(--primary-color);
}

.social-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 5px;
  max-width: 800px;
  margin: auto;
}

.share-btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
  min-width: 130px;
  text-align: center;
  cursor: pointer;
}

.share-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.share-btn span {
  display: inline-block;
  font-weight: 500;
}

/* Brand Colors */
.facebook {
  background-color: #3b5998;
}
.twitter {
  background-color: #1da1f2;
}
.whatsapp {
  background-color: #25d366;
}
.telegram {
  background-color: #0088cc;
}

.native {
  background-color: #65035a;
}

.share-btn:hover {
  opacity: 0.85;
  color: #fff;
}

/* Light Theme Footer CSS */
.footer {
  background-color: #f9f9f9;
  color: #333;
  padding: 40px 0 20px;
  border: 3px solid #ddd;
  max-width: var(--max-width);
  margin: 1em auto 0 auto;
  border-radius: 1em 1em 0px 0px;
  border-bottom:none;
  box-shadow: var(--shadow-light);
}

.footer a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;

  gap: 8px 25px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #393939;
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  margin-top: 1.5em;
}

.content main {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px 15px;
  background-color: #fff;
  box-shadow: var(--shadow-light);
}

.content aside {
  position: sticky;
  padding: 10px;
  top: 70px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 20px;
  background-color: #fff;
  box-shadow: var(--shadow-light);
}

.paragraph a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

/* Desktop layout */
@media (min-width: 768px) {
  .content {
    flex-direction: row;
    align-items: flex-start;
  }

  .content main {
    flex: 3;
  }

  .content aside {
    flex: 1;
  }
}

.archive-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 2em;
}

.archive-links a {
  display: block;
  padding: 10px 5px;
  background-color: var(--surface);
  color: var(--text-primary);
  text-decoration: none;
  text-align: center;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-size: 15px;
  border: 1px solid var(--border-color);
}

.archive-links a:hover {
  background-color: #e0e0e0;
}

.sidebar_heading {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}

.m_headeing {
  font-size: 18px;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 10px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 2px dashed var(--border-color);
}
.poupHeading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-modal {
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  max-width: 90%;
  width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #f20000;
  border: none;
  font-size: 25px;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-btn {
  background: var(--surface);
  color: #000;
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  transition: scale 0.2s ease;
}
.nav-btn:hover {
  scale: 1.05;
}

.main_content h1,
.main_content h2 {
  color: var(--text-primary);
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.main_content h2 {
  font-size: 22px;
}

.main_content .h2 {
  font-size: 28px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  border-left: none;
}

.main_content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.main_content ul {
  padding-left: 10px;
  margin-bottom: 20px;
  list-style: none;
}

.main_content ul li {
  font-size: 16px;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.main_content ul li::before {
  content: "👉";

  position: absolute;
  left: -5px;
  top: 0;
}

#searchOld {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  font-size: 22px;
  background-color: var(--surface);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  max-width: 400px;
  border: 1px solid var(--border-color);
  margin: 20px auto;
}

#searchOld label {
  font-weight: 500;
  color: #333;
}

#datePicker {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 22px;
  outline: none;
  transition: border-color 0.3s ease;
}

#datePicker:focus {
  border-color: var(--primary-color);
}

#searchBtn {
  padding: 8px 16px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 22px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 200px;
}

#searchBtn:hover:not(:disabled) {
  background-color: var(--primary-color);
}

#searchBtn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

#SearchResult {
  margin: 20px auto;
  max-width: 400px;
  padding: 10px;
  min-height: 50px;
}

.ajaxResult {
  text-align: center;
  margin: 1px auto 1em auto;
}

.ajaxResult a {
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 2px solid transparent;
  background: var(--primary-color);
  color: white;
  max-width: 250px;
  margin: auto;
}

.not_404_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.not_404_container {
  max-width: 600px;
  text-align: center;
  padding: 55px 30px;

  margin: 0 auto;
}

.not_404_title {
  font-size: 3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.not_404_message {
  font-size: 1.2rem;
  color: #555;
  margin: 20px 0;
  line-height: 1.6;
}

.not_404_note {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0;
  line-height: 1.6;
}

.not_link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.not_link:hover {
  text-decoration: underline;
}

.tables {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1em 8px;
  flex-wrap: wrap;
  margin-block: 1em;
}

.tables div h2 {
  margin: 0px;
  text-align: center;
  font-size: 18px;
}

.tables div table {
  border-collapse: collapse;
  width: 100%;
  min-width: 250px;
  font-size: 15px;
  text-align: center;
}

.tables div table td,
.tables div table th {
  border: 1px solid var(--border-color);
  padding: 5px;
}

.tables div table tr:nth-child(even) {
  background-color: var(--surface);
}

.tables div table th {
  padding: 5px 8px;

  background-color: var(--surface);
  color: #000;
}

.dateheading {
  font-size: 20px;
  font-weight: bold;
  margin: 1em auto 0px auto;
  text-align: center;
}

.hero-subtitle {
  margin-block: 1em;
}

.lottery-result {
  margin: 1em auto;
  padding: 10px;
  background-color: var(--surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1em;
}

.lottery-result img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.lottery-result h2 {
  text-align: center;
  font-size: 20px;
  margin: 0px;
  color: var(--text-primary);
}

.lottery-result a {
  text-decoration: none;
  background-color: #000;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  margin-top: 1em;
}
.lottery-result a:hover {
  background-color: var(--primary-color);
  color: white;
}
.sidebar_links {
  margin-bottom: 2em;
}
.sidebar_links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 1em;
  background-color: var(--surface);
  color: var(--text-primary);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 16px;
  font-weight: 500;
  margin: 5px 0;
  border: 1px solid var(--border-color);
}

.sidebar_links a:hover {
  background-color: #e0e0e0;
}

.weekly-draws-table {
  text-align: center;
  border-collapse: collapse;
  width: 100%;
}

.weekly-draws-table td,
.weekly-draws-table th {
  border: 1px solid var(--border-color);
  padding: 8px;
}

.weekly-draws-table tr:nth-child(even) {
  background-color: var(--surface);
}

.weekly-draws-table th {
  padding-top: 12px;
  padding-bottom: 12px;

  background-color: #292929;
  color: white;
}

.ads {
  background-color: #f1f1f1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin: 10px auto;
  color: #656565;
  display: flex;

  align-items: center;
  justify-content: center;
}

.ads3 {
  width: 300px;
  height: 250px;
}

.ads1,
.ads2 {
  height: 90px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-btn {
    background: none;
    color: #000;
    border: none;
    padding: 0px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0px;
    justify-content: center;
  }

  .nav-btn span {
    display: none;
  }

  .hide_on_mobile {
    display: none;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blur-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-color);

    opacity: 0;
    visibility: hidden;

    z-index: 500;
  }

  .nav-right {
    gap: 20px;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    background: var(--background);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow);
    z-index: 500;
    margin: 5px;
    border-radius: 8px;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: normal;
  }

  .not_404_container {
    padding: 10px;
  }

  .not_404_title {
    font-size: 2rem;
  }

  .not_404_message {
    font-size: 1.1rem;
  }

  .not_404_links,
  .not_404_note {
    font-size: 0.95rem;
  }

  body {
    background-color: #fff;
  }

  .content main {
    border: none;
    border-radius: none;
    padding: 1em 0px;
    background-color: none;
    box-shadow: none;
  }

  .content aside {
    border: none;
    border-radius: none;
    padding: 1em;
    background-color: none;
    box-shadow: none;
  }

  .weekly-draws-table td,
  .weekly-draws-table th {
    padding: 5px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 6px;
  }
}


@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.rotating-svg {
  animation: rotate 0.8s linear infinite; /* Adjust duration as needed */
}


.onflex{
    display: flex;
    align-items: center;
 justify-content: center;
 gap:2px;
    font-size:14px;
    color:#6d6e70;
}
