/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Section Boxes */
.section-box {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 1200px;
}

/* Header */
header {
  background: linear-gradient(45deg, #0A2342, #1F406F);
  color: #fff;
  padding: 20px 0;
  text-align: center;
}
.header-container {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  gap: 15px;

  justify-content: space-around;
}
.logo, .site-name {
  font-size: 24px;
  font-weight: bold;
}
.logo {
  height: 30px;
}

/* Intro Section */
.intro {
  text-align: center;
  padding: 20px;
}
.intro h1 {
  margin-bottom: 10px;
}
.intro p {
  margin-bottom: 20px;
  font-size: 18px;
}
.intro-media {
  text-align: center;
}
.intro-img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  margin-bottom: 15px;
}
.intro-media .btn {
  display: block;
  margin: 15px auto 0;
}

/* Page Navigation */
.page-nav {
  text-align: left;
  font-size: 14px;
  margin: 10px 0 20px 0;
}
.page-nav ul {
  list-style: disc inside;
  padding-left: 20px;
}
.page-nav li {
  margin-bottom: 5px;
}
.page-nav a {
  text-decoration: underline;
  color: #0073e6;
  font-weight: bold;
}

/* Video Section */
.video-section,.about-section {
  text-align: left;
  padding: 20px;
}
.video-section h2,.about-section h2 {
  margin-bottom: 10px;
}
.video-section p,.about-section p {
  margin-bottom: 20px;
  font-size: 16px;
}
.video-wrapper {
  position: relative;
  display: inline-block;
}
.video-poster {
  position: relative;
  cursor: pointer;
}
.video-poster-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 8px;
}
#play-video-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Rounded Video Container */
#video-container {
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

/* Games Section */
.games-section p {
  text-align: center;
  margin-bottom: 20px;
}
.games-container {
  width: 100%;
}
.games-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}
.game-card {
  width: calc(33.33% - 20px);
  margin: 10px;
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.game-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}
.game-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}
.game-card .btn {
  display: block;
  margin: 10px auto 0;
}
#toggle-games-btn {
  display: block;
  margin: 20px auto;
}

/* Info Section */
.info-section {
  text-align: center;
}

/* Features Section */
.features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.feature-block {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin: 10px auto;
  text-align: center;
}
.feature-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
}

/* FAQ Section */
.faq-section details {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.faq-section summary {
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-menu {
  margin-bottom: 20px;
}

.footer-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.footer-menu li {
  margin: 0 15px;
  position: relative;
}

.footer-menu li:not(:last-child):after {
  content: "|";
  position: absolute;
  right: -15px;
  color: #555;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #D69500;
}

.copyright {
  font-size: 14px;
  color: #aaa;
}

/* Buttons (Dark Green) */
.btn {
  background: #006400;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite ease-in-out;
}
.btn:hover {
  background: #004d00;
  transform: scale(1.03);
}

/* YouTube-style Button */
.youtube-btn {
  background: #FF0000;
  color: #fff;
  border: none;
  padding: 10px 25px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.youtube-btn:hover {
  background: #cc0000;
  transform: scale(1.03);
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  .game-card, .feature-block {
    width: 90%;
    margin: 10px auto;
  }
  .games-row {
    justify-content: center;
  }
}

/* Table Styles */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

th {
  background-color: #f8f8f8;
  font-weight: bold;
  color: #333;
}

tr:hover {
  background-color: #f5f5f5;
}

/* Responsive table for mobile */
@media (max-width: 768px) {
  .table-wrapper {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px; /* Ensures table doesn't get too narrow */
  }
}

/* About Section Styles */
.about-section {
  line-height: 1.8;
}

.about-section h1 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #0A2342;
}

.about-section h2 {
  font-size: 24px;
  margin: 30px 0 15px;
  color: #1F406F;
}

.about-section h3 {
  font-size: 20px;
  margin: 25px 0 12px;
  color: #333;
}

.about-section p {
  margin-bottom: 15px;
}

/* List Styles for About Section */
.about-section ul, 
.about-section ol {
  margin: 15px 0;
  padding-left: 25px;
}

.about-section ul li, 
.about-section ol li {
  margin-bottom: 10px;
  position: relative;
}

.about-section ul li {
  list-style-type: disc;
}

.about-section ol li {
  list-style-type: decimal;
}

.about-section ul li strong, 
.about-section ol li strong {
  color: #1F406F;
  font-weight: 600;
}

.about-section ul li:last-child, 
.about-section ol li:last-child {
  margin-bottom: 0;
}

/* Contact Info in About Section */
.about-section .contact-info {
  background-color: #f8f8f8;
  border-left: 4px solid #006400;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 4px 4px 0;
}

.about-section .contact-info p {
  margin-bottom: 8px;
}

.about-section .last-updated {
  font-style: italic;
  color: #666;
  font-size: 14px;
  margin-top: 30px;
}

/* Buttons */
.button-container {
  text-align: center;
  margin: 0 auto;
}
.header-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-main {
  position: relative;
  padding: 12px 26px;
  font-size: 18px;
  color: #FFFFFF;
  background: #D69500;
  border: none;
  border-radius: 8px;
  transition: background 0.2s ease-in-out;
}
.btn-main:hover {
  background: #dea214;
  cursor: pointer;
}