/* style/lottery-results.css */
.page-lottery-results {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

.page-lottery-results__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-lottery-results__hero {
  background: linear-gradient(135deg, #0A2342 0%, #1a3a60 100%); /* Dark blue gradient */
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-lottery-results__hero::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-color: rgba(224, 180, 0, 0.1);
  border-radius: 50%;
  filter: blur(50px);
}

.page-lottery-results__hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background-color: rgba(224, 180, 0, 0.15);
  border-radius: 50%;
  filter: blur(60px);
}

.page-lottery-results__title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #E0B400; /* Accent color for title */
  font-weight: 700;
}

.page-lottery-results__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-lottery-results__section {
  padding: 60px 0;
  background-color: #fff;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-lottery-results__section:nth-of-type(odd) {
  background-color: #f0f4f7; /* Light greyish blue for alternating sections */
}

.page-lottery-results__section-title {
  font-size: 2.5em;
  color: #0A2342;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-lottery-results__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #E0B400;
  border-radius: 2px;
}

.page-lottery-results__text-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
}

.page-lottery-results__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.1em;
  text-align: center;
  white-space: nowrap;
}

.page-lottery-results__btn--primary {
  background-color: #E0B400;
  color: #0A2342;
  border: 2px solid #E0B400;
  margin: 10px;
}

.page-lottery-results__btn--primary:hover {
  background-color: #f0c530;
  border-color: #f0c530;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(224, 180, 0, 0.3);
}

.page-lottery-results__btn--secondary {
  background-color: transparent;
  color: #0A2342;
  border: 2px solid #0A2342;
  margin: 10px;
}

.page-lottery-results__btn--secondary:hover {
  background-color: #0A2342;
  color: #E0B400;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.2);
}

.page-lottery-results__btn--tertiary {
  background-color: #0A2342;
  color: #E0B400;
  border: 2px solid #0A2342;
  margin: 10px;
}

.page-lottery-results__btn--tertiary:hover {
  background-color: #1a3a60;
  border-color: #1a3a60;
  color: #f0c530;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.2);
}

.page-lottery-results__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-lottery-results__inline-link {
  color: #E0B400;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-lottery-results__inline-link:hover {
  color: #f0c530;
  text-decoration: underline;
}

.page-lottery-results__latest-results {
  text-align: center;
}

.page-lottery-results__results-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-lottery-results__results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  font-size: 1em;
  min-width: 600px; /* Ensure table is readable on small screens */
}

.page-lottery-results__results-table th,
.page-lottery-results__results-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.page-lottery-results__results-table th {
  background-color: #0A2342;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

.page-lottery-results__results-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-lottery-results__results-table tbody tr:hover {
  background-color: #f0f0f0;
}

.page-lottery-results__results-table td[data-label] {
  font-weight: bold;
  color: #0A2342;
}

.page-lottery-results__table-link {
  color: #E0B400;
  text-decoration: none;
  font-weight: bold;
}

.page-lottery-results__table-link:hover {
  text-decoration: underline;
}

.page-lottery-results__cta-text {
  font-size: 1.1em;
  margin-top: 30px;
  color: #555;
}

.page-lottery-results__search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 40px;
}

.page-lottery-results__form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-lottery-results__label {
  margin-bottom: 8px;
  font-weight: bold;
  color: #0A2342;
  font-size: 1em;
}

.page-lottery-results__select,
.page-lottery-results__input {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  min-width: 200px;
  color: #333;
}

.page-lottery-results__input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

.page-lottery-results__note {
  font-style: italic;
  color: #777;
  margin-top: 20px;
  text-align: center;
}

.page-lottery-results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-results__card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-lottery-results__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-lottery-results__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
}

.page-lottery-results__card-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

.page-lottery-results__card-text {
  color: #666;
  margin-bottom: 25px;
}

.page-lottery-results__why-ji88bet .page-lottery-results__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-lottery-results__feature-item {
  text-align: center;
  padding: 25px;
  background-color: #fdfdfd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-lottery-results__feature-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-lottery-results__feature-title {
  font-size: 1.4em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-lottery-results__feature-text {
  color: #666;
  font-size: 0.95em;
}

.page-lottery-results__app-download-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-lottery-results__app-text-content {
  flex: 1;
  min-width: 300px;
}

.page-lottery-results__app-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-lottery-results__app-image-wrapper .page-lottery-results__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-lottery-results__app-benefits {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.page-lottery-results__app-benefits li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
  display: flex;
  align-items: center;
}

.page-lottery-results__icon {
  color: #E0B400;
  font-size: 1.5em;
  margin-right: 10px;
  line-height: 1;
}

.page-lottery-results__responsible-tips {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 30px auto;
  padding-left: 25px;
  color: #555;
  font-size: 1.1em;
}

.page-lottery-results__responsible-tips li {
  margin-bottom: 10px;
}

.page-lottery-results__accordion {
  max-width: 900px;
  margin: 40px auto;
}

.page-lottery-results__accordion-item {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-lottery-results__accordion-header {
  background-color: #0A2342;
  color: #fff;
  padding: 18px 25px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-lottery-results__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-lottery-results__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-lottery-results__accordion-header:hover {
  background-color: #1a3a60;
}

.page-lottery-results__accordion-content {
  padding: 0 25px;
  background-color: #fefefe;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-lottery-results__accordion-content p {
  padding: 15px 0;
  color: #555;
  font-size: 1em;
  margin: 0;
}

.page-lottery-results__cta-final {
  text-align: center;
  background-color: #0A2342; /* Dark blue background */
  color: #fff;
  padding: 80px 0;
  border-radius: 0;
  box-shadow: none;
}

.page-lottery-results__cta-final .page-lottery-results__section-title {
  color: #E0B400;
}

.page-lottery-results__cta-final .page-lottery-results__section-title::after {
  background-color: #E0B400;
}

.page-lottery-results__cta-final .page-lottery-results__text-intro {
  color: #f0f0f0;
}

.page-lottery-results__cta-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-lottery-results__cta-final .page-lottery-results__btn--primary {
  background-color: #E0B400;
  color: #0A2342;
  border-color: #E0B400;
}

.page-lottery-results__cta-final .page-lottery-results__btn--primary:hover {
  background-color: #f0c530;
  border-color: #f0c530;
}

.page-lottery-results__cta-final .page-lottery-results__btn--secondary {
  background-color: transparent;
  color: #E0B400;
  border-color: #E0B400;
}

.page-lottery-results__cta-final .page-lottery-results__btn--secondary:hover {
  background-color: #E0B400;
  color: #0A2342;
}

.page-lottery-results__small-text {
  font-size: 0.9em;
  margin-top: 30px;
  color: #ccc;
}

.page-lottery-results__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-lottery-results__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-lottery-results__title {
    font-size: 2.5em;
  }
  .page-lottery-results__section-title {
    font-size: 2em;
  }
  .page-lottery-results__app-download-content {
    flex-direction: column;
    text-align: center;
  }
  .page-lottery-results__app-text-content, .page-lottery-results__app-image-wrapper {
    min-width: unset;
    width: 100%;
  }
  .page-lottery-results__app-benefits {
    text-align: left;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .page-lottery-results__hero {
    padding: 80px 0;
  }
  .page-lottery-results__title {
    font-size: 2em;
  }
  .page-lottery-results__subtitle {
    font-size: 1.1em;
  }
  .page-lottery-results__section {
    padding: 40px 0;
  }
  .page-lottery-results__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-lottery-results__text-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-lottery-results__btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-lottery-results__search-form {
    flex-direction: column;
    align-items: stretch;
  }
  .page-lottery-results__form-group {
    width: 100%;
  }
  .page-lottery-results__select,
  .page-lottery-results__input {
    width: 100%;
    min-width: unset;
  }
  .page-lottery-results__results-table th,
  .page-lottery-results__results-table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-lottery-results__results-table thead {
    display: none; /* Hide table headers on small screens */
  }
  .page-lottery-results__results-table tbody,
  .page-lottery-results__results-table tr,
  .page-lottery-results__results-table td {
    display: block;
    width: 100%;
  }
  .page-lottery-results__results-table tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
  }
  .page-lottery-results__results-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }
  .page-lottery-results__results-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    color: #0A2342;
  }
  .page-lottery-results__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-lottery-results__accordion-content p {
    padding: 10px 0;
  }
  .page-lottery-results__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery-results__btn {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .page-lottery-results__title {
    font-size: 1.8em;
  }
  .page-lottery-results__section-title {
    font-size: 1.6em;
  }
  .page-lottery-results__card {
    padding: 20px;
  }
  .page-lottery-results__card-title {
    font-size: 1.3em;
  }
  .page-lottery-results__app-benefits li {
    font-size: 1em;
  }
  .page-lottery-results__accordion-header {
    font-size: 1em;
  }
  .page-lottery-results__accordion-content p {
    font-size: 0.95em;
  }
}