/* style/lottery-results.css */
.page-lottery-results {
  font-family: 'Arial', sans-serif;
  color: #e0e0e0; /* Light gray text for dark background */
  background-color: #1a1a1a; /* Dark background */
}

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

.page-lottery-results__hero-section {
  background: linear-gradient(135deg, #CC0000, #990000); /* Darker red gradient */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-lottery-results__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-image: url('[GALLERY:bg:lottery_pattern,abstract,red_gold]');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
}

.page-lottery-results__hero-section > * {
    position: relative;
    z-index: 1;
}

.page-lottery-results__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-lottery-results__subtitle {
  font-size: 1.3em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-lottery-results__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-lottery-results__btn--primary {
  background-color: #FFD700; /* Gold button */
  color: #CC0000; /* Red text on gold */
  border: 2px solid #FFD700;
}

.page-lottery-results__btn--primary:hover {
  background-color: #e0b800; /* Darker gold on hover */
  border-color: #e0b800;
  transform: translateY(-3px);
}

.page-lottery-results__btn--secondary {
  background-color: transparent;
  color: #FFD700; /* Gold text */
  border: 2px solid #FFD700;
}

.page-lottery-results__btn--secondary:hover {
  background-color: #FFD700;
  color: #CC0000;
  transform: translateY(-3px);
}

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

.page-lottery-results__btn--large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-lottery-results__latest-results-section,
.page-lottery-results__history-section,
.page-lottery-results__why-mcw88-lottery,
.page-lottery-results__how-to-play,
.page-lottery-results__tips-section,
.page-lottery-results__cta-section {
  padding: 80px 0;
  background-color: #2a2a2a; /* Slightly lighter dark background for sections */
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-lottery-results__latest-results-section {
    background-color: #1a1a1a;
}

.page-lottery-results__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for section titles */
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-lottery-results__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #cccccc;
}

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

.page-lottery-results__result-card {
  background-color: #333333; /* Dark gray card background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #444444;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-lottery-results__card-title {
  font-size: 1.8em;
  color: #CC0000; /* Red for card titles */
  margin-bottom: 15px;
}

.page-lottery-results__card-date {
  font-size: 1.1em;
  color: #aaaaaa;
  margin-bottom: 10px;
}

.page-lottery-results__card-numbers {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-lottery-results__winning-number {
  color: #FFD700; /* Gold for winning numbers */
  margin: 0 5px;
}

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

.page-lottery-results__filter-controls label {
    font-size: 1.1em;
    color: #FFD700;
}

.page-lottery-results__select-input,
.page-lottery-results__date-input {
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #555555;
  background-color: #333333;
  color: #ffffff;
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-lottery-results__select-input:focus,
.page-lottery-results__date-input:focus {
  border-color: #CC0000;
}

.page-lottery-results__search-btn {
    background-color: #CC0000;
    color: #ffffff;
    border: none;
}

.page-lottery-results__search-btn:hover {
    background-color: #990000;
}

.page-lottery-results__table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-lottery-results__results-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #333333;
  min-width: 600px;
}

.page-lottery-results__results-table th,
.page-lottery-results__results-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #444444;
}

.page-lottery-results__results-table th {
  background-color: #CC0000; /* Red header */
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
}

.page-lottery-results__results-table td {
  color: #e0e0e0;
}

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

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

.page-lottery-results__feature-item {
  background-color: #333333;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #444444;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-lottery-results__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px #FFD700);
}

.page-lottery-results__feature-title {
  font-size: 1.8em;
  color: #FFD700; /* Gold for feature titles */
  margin-bottom: 15px;
}

.page-lottery-results__feature-item p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-lottery-results__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-lottery-results__steps-list li {
  background-color: #333333;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-left: 5px solid #CC0000; /* Red border for steps */
  position: relative;
  counter-increment: step-counter;
}

.page-lottery-results__steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: -20px;
    top: 25px;
    background-color: #FFD700;
    color: #CC0000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border: 2px solid #CC0000;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-lottery-results__step-title {
  font-size: 1.8em;
  color: #CC0000; /* Red for step titles */
  margin-bottom: 15px;
  margin-left: 30px; /* Offset for number */
}

.page-lottery-results__steps-list p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-left: 30px; /* Offset for number */
}

.page-lottery-results__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-lottery-results__tips-list li {
  background-color: #333333;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  border-left: 4px solid #FFD700; /* Gold border for tips */
}

.page-lottery-results__tip-title {
  font-size: 1.5em;
  color: #FFD700; /* Gold for tip titles */
  margin-bottom: 10px;
}

.page-lottery-results__tips-list p {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

.page-lottery-results__cta-section {
  text-align: center;
  background: linear-gradient(135deg, #CC0000, #FFD700); /* Red to gold gradient */
  padding: 100px 0;
  color: #ffffff;
}

.page-lottery-results__cta-buttons {
  margin-top: 40px;
}

.highlight-text {
    color: #FFD700; /* Gold highlight for keywords */
    font-weight: bold;
}

.page-lottery-results__image-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-lottery-results__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 3px solid #CC0000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-lottery-results__main-title {
    font-size: 2.8em;
  }
  .page-lottery-results__section-title {
    font-size: 2em;
  }
  .page-lottery-results__subtitle,
  .page-lottery-results__section-description {
    font-size: 1em;
  }
  .page-lottery-results__hero-section,
  .page-lottery-results__latest-results-section,
  .page-lottery-results__history-section,
  .page-lottery-results__why-mcw88-lottery,
  .page-lottery-results__how-to-play,
  .page-lottery-results__tips-section,
  .page-lottery-results__cta-section {
    padding: 60px 0;
  }
  .page-lottery-results__results-grid,
  .page-lottery-results__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-lottery-results__steps-list li::before {
        left: 10px;
        top: 15px;
  }
  .page-lottery-results__step-title,
  .page-lottery-results__steps-list p {
        margin-left: 50px;
  }
}

@media (max-width: 768px) {
  .page-lottery-results__main-title {
    font-size: 2.2em;
  }
  .page-lottery-results__section-title {
    font-size: 1.8em;
  }
  .page-lottery-results__btn {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-lottery-results__filter-controls {
    flex-direction: column;
    gap: 15px;
  }
  .page-lottery-results__results-table th,
  .page-lottery-results__results-table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-lottery-results__feature-title {
    font-size: 1.5em;
  }
  .page-lottery-results__step-title {
    font-size: 1.6em;
  }
}

@media (max-width: 480px) {
  .page-lottery-results__main-title {
    font-size: 1.8em;
  }
  .page-lottery-results__subtitle {
    font-size: 0.9em;
  }
  .page-lottery-results__section-title {
    font-size: 1.5em;
  }
  .page-lottery-results__btn {
    display: block;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-lottery-results__results-grid {
    grid-template-columns: 1fr;
  }
  .page-lottery-results__hero-section,
  .page-lottery-results__latest-results-section,
  .page-lottery-results__history-section,
  .page-lottery-results__why-mcw88-lottery,
  .page-lottery-results__how-to-play,
  .page-lottery-results__tips-section,
  .page-lottery-results__cta-section {
    padding: 40px 0;
  }
  .page-lottery-results__steps-list li::before {
        left: 5px;
        top: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
  }
  .page-lottery-results__step-title,
  .page-lottery-results__steps-list p {
        margin-left: 45px;
  }
  .page-lottery-results__feature-icon {
        width: 60px;
        height: 60px;
  }
}