/* Pages Styles - Internal pages layout */

/* Page Container */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
}

.page-header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
  color: #fff;
  margin-bottom: 40px;
  border-radius: 8px;
}

.page-header h1 {
  font-size: 2rem;
  margin: 0;
  font-weight: 700;
}

.page-header p {
  margin: 10px 0 0;
  opacity: 0.9;
}

/* Sections */
.page-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #c41e3a;
}

.page-section h2 {
  font-size: 1.5rem;
  color: #c41e3a;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.page-section h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 20px 0 10px;
}

.page-section p {
  line-height: 1.8;
  color: #444;
  margin: 0 0 15px;
}

.page-section ul {
  padding-left: 20px;
  margin: 0 0 15px;
}

.page-section li {
  line-height: 1.8;
  color: #444;
  margin-bottom: 8px;
}

/* Tables */
.results-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.results-table th {
  background: #c41e3a;
  color: #fff;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.results-table td {
  padding: 15px;
  border-bottom: 1px solid #e9ecef;
}

.results-table tr:hover {
  background: #f8f9fa;
}

.results-table tr:last-child td {
  border-bottom: none;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 20px;
  background: #c41e3a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #fff;
  color: #c41e3a;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-answer {
  padding: 20px;
  line-height: 1.8;
  color: #444;
  border-left: 3px solid #c41e3a;
  margin-left: 20px;
}

.faq-answer::before {
  content: "A";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #c41e3a;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  margin-right: 10px;
}

/* Info Box */
.info-box {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.info-box.legal {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-color: #2196f3;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .page-container {
    padding: 20px 15px;
  }
  
  .page-header {
    padding: 30px 15px;
  }
  
  .page-header h1 {
    font-size: 1.5rem;
  }
  
  .page-section {
    padding: 20px;
  }
  
  .page-section h2 {
    font-size: 1.2rem;
  }
  
  .results-table {
    display: block;
    overflow-x: auto;
  }
  
  .results-table th,
  .results-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* Lottery Cards */
.lottery-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.lottery-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.lottery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.lottery-card h3 {
  color: #c41e3a;
  margin: 0 0 15px;
  font-size: 1.3rem;
}

.lottery-card p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 20px;
}

.lottery-card .prize {
  font-size: 1.5rem;
  font-weight: 700;
  color: #c41e3a;
}

/* Fix body scrolling */
html {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

html.is_noScroll {
  overflow: auto !important;
}

body {
  height: auto !important;
  min-height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body.is_noScroll {
  overflow: auto !important;
}

#wrapper {
  min-height: 100vh;
  height: auto !important;
  overflow: visible !important;
  position: relative;
}

.l_container {
  height: auto !important;
  overflow: visible !important;
}

.l_container.is_fixed,
.l_container.is_bgShow {
  position: relative !important;
}

/* Ensure overlays don't block interaction when hidden */
.modal-overlay-ajax,
.indicator-overlay {
  pointer-events: none;
}

.modal-overlay-ajax[style*="display: block"],
.indicator-overlay[style*="display: block"] {
  pointer-events: auto;
}

/* Prize Categories */
.prize-category {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.prize-category .rank {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin-right: 20px;
  flex-shrink: 0;
}

.prize-category .rank.gold {
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
}

.prize-category .rank.silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #a0a0a0 100%);
}

.prize-category .rank.bronze {
  background: linear-gradient(135deg, #cd7f32 0%, #b87333 100%);
}

.prize-category .rank.other {
  background: linear-gradient(135deg, #c41e3a 0%, #e63946 100%);
}

.prize-category .details {
  flex: 1;
}

.prize-category .details h4 {
  margin: 0 0 5px;
  color: #333;
}

.prize-category .details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

