/* General Styling */
.page-tongits-one {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f7f6;
  padding-top: 10px; /* Decorative top spacing for main content, assuming body has header offset */
}

.page-tongits-one__section-title {
  font-size: 2.5em;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 40px;
  padding: 20px 15px 0;
  font-weight: 700;
}

.page-tongits-one__hero-section,
.page-tongits-one__intro-section,
.page-tongits-one__quick-access-section,
.page-tongits-one__games-section,
.page-tongits-one__promo-section,
.page-tongits-one__security-support-section,
.page-tongits-one__faq-section,
.page-tongits-one__blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-tongits-one__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0056b3, #007bff);
  color: #fff;
  padding: 60px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.page-tongits-one__hero-content {
  max-width: 800px;
  margin-bottom: 30px;
}

.page-tongits-one__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.page-tongits-one__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-tongits-one__hero-cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #333;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tongits-one__hero-cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-tongits-one__hero-image-wrapper {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tongits-one__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Payment Providers Section */
.page-tongits-one__payment-providers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 40px 20px;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
}

.page-tongits-one__payment-logos-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.page-tongits-one__payment-logo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  max-width: 80px;
  max-height: 80px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.page-tongits-one__payment-logo:hover {
  transform: translateY(-3px);
}

.page-tongits-one__payment-logo img {
  display: block;
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain;
  padding: 5px; /* Add some padding inside the logo container */
  box-sizing: border-box;
}

/* Intro Section */
.page-tongits-one__intro-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.page-tongits-one__intro-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.page-tongits-one__intro-content p {
  font-size: 1.1em;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

.page-tongits-one__intro-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Quick Access Section */
.page-tongits-one__quick-access-section {
  background-color: #e6f2ff;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  margin-top: 40px;
}

.page-tongits-one__quick-access-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-tongits-one__quick-access-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.page-tongits-one__quick-access-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Games Section */
.page-tongits-one__games-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  text-align: center;
}

.page-tongits-one__games-intro {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tongits-one__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-tongits-one__game-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tongits-one__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-tongits-one__game-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-tongits-one__game-title {
  font-size: 1.4em;
  color: #1a1a1a;
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-tongits-one__game-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1; /* Allows description to take up available space */
}

.page-tongits-one__game-button {
  display: inline-block;
  background-color: #28a745;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-tongits-one__game-button:hover {
  background-color: #218838;
}

/* Promo Section */
.page-tongits-one__promo-section {
  background-color: #fcecec;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  text-align: center;
}

.page-tongits-one__promo-intro {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tongits-one__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-tongits-one__promo-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tongits-one__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-tongits-one__promo-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-tongits-one__promo-title {
  font-size: 1.4em;
  color: #1a1a1a;
  margin: 20px 15px 10px;
  font-weight: 600;
}

.page-tongits-one__promo-description {
  font-size: 0.95em;
  color: #666;
  padding: 0 15px 20px;
  flex-grow: 1;
}

.page-tongits-one__promo-button {
  display: inline-block;
  background-color: #dc3545;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background-color 0.3s ease;
}

.page-tongits-one__promo-button:hover {
  background-color: #c82333;
}

/* Security & Support Section */
.page-tongits-one__security-support-section {
  background-color: #e0f7fa;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.page-tongits-one__security-support-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.page-tongits-one__security-support-image {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-tongits-one__security-support-text {
  flex: 1;
  min-width: 300px;
  max-width: 50%;
  padding: 20px 0;
}

.page-tongits-one__security-support-text p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 15px;
}

.page-tongits-one__contact-button {
  display: inline-block;
  background-color: #17a2b8;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 600;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-tongits-one__contact-button:hover {
  background-color: #138496;
}

/* FAQ Section */
.page-tongits-one__faq-section {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

.page-tongits-one__faq-list {
  margin-top: 30px;
}

.page-tongits-one__faq-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.page-tongits-one__faq-item:last-child {
  border-bottom: none;
}

.page-tongits-one__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 10px 15px;
  background-color: #f0f0f0;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.page-tongits-one__faq-question:hover {
  background-color: #e0e0e0;
}

.page-tongits-one__faq-title {
  font-size: 1.2em;
  color: #333;
  margin: 0;
  font-weight: 600;
  pointer-events: none; /* Prevent h3 from blocking click event */
  flex-grow: 1;
}

.page-tongits-one__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #007bff;
  margin-left: 15px;
  pointer-events: none; /* Prevent span from blocking click event */
  transition: transform 0.3s ease;
}

.page-tongits-one__faq-item.active .page-tongits-one__faq-toggle {
  transform: rotate(45deg);
}

.page-tongits-one__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
}

.page-tongits-one__faq-item.active .page-tongits-one__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px 15px !important;
  opacity: 1;
}

.page-tongits-one__faq-answer p {
  font-size: 1em;
  color: #666;
  margin: 0;
}

/* Blog Section */
.page-tongits-one__blog-section {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
  text-align: center;
}

.page-tongits-one__blog-intro {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tongits-one__blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.page-tongits-one__blog-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-tongits-one__blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-tongits-one__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-tongits-one__blog-title {
  font-size: 1.3em;
  color: #1a1a1a;
  margin: 20px 15px 10px;
  font-weight: 600;
  line-height: 1.3;
}

.page-tongits-one__blog-summary {
  font-size: 0.9em;
  color: #666;
  padding: 0 15px 15px;
  flex-grow: 1;
}

.page-tongits-one__blog-date {
  display: block;
  font-size: 0.85em;
  color: #888;
  margin-top: 10px;
}

.page-tongits-one__blog-button {
  display: inline-block;
  background-color: #6c757d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  margin: 0 15px 20px;
  align-self: flex-start; /* Align button to the left */
  transition: background-color 0.3s ease;
}

.page-tongits-one__blog-button:hover {
  background-color: #5a6268;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-tongits-one__hero-title {
    font-size: 2.8em;
  }
  .page-tongits-one__hero-description {
    font-size: 1.1em;
  }
  .page-tongits-one__section-title {
    font-size: 2em;
  }
  .page-tongits-one__security-support-content {
    flex-direction: column;
  }
  .page-tongits-one__security-support-image,
  .page-tongits-one__security-support-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-tongits-one__hero-section,
  .page-tongits-one__intro-section,
  .page-tongits-one__quick-access-section,
  .page-tongits-one__games-section,
  .page-tongits-one__promo-section,
  .page-tongits-one__security-support-section,
  .page-tongits-one__faq-section,
  .page-tongits-one__blog-section {
    padding: 30px 15px;
  }

  .page-tongits-one__hero-title {
    font-size: 2em;
  }

  .page-tongits-one__hero-description {
    font-size: 1em;
  }

  .page-tongits-one__hero-cta-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-tongits-one__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-tongits-one__payment-providers {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 30px 15px;
  }
  .page-tongits-one__payment-logo,
  .page-tongits-one__payment-logo img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
  }

  .page-tongits-one__intro-content {
    text-align: left;
  }
  .page-tongits-one__intro-content p {
    font-size: 1em;
  }

  .page-tongits-one__quick-access-buttons {
    flex-direction: column;
    align-items: center;
  }

  .page-tongits-one__quick-access-button {
    width: 100%;
    max-width: 300px;
    font-size: 1em;
  }

  .page-tongits-one__games-grid,
  .page-tongits-one__promo-grid,
  .page-tongits-one__blog-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }

  .page-tongits-one__game-card,
  .page-tongits-one__promo-card,
  .page-tongits-one__blog-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-tongits-one__game-image,
  .page-tongits-one__promo-image,
  .page-tongits-one__blog-image {
    width: 100% !important;
    height: auto !important; /* Allow height to adjust */
    max-width: 100% !important;
    box-sizing: border-box !important;
    object-fit: cover;
  }

  .page-tongits-one__game-title,
  .page-tongits-one__promo-title,
  .page-tongits-one__blog-title {
    font-size: 1.2em;
  }

  .page-tongits-one__game-description,
  .page-tongits-one__promo-description,
  .page-tongits-one__blog-summary {
    font-size: 0.9em;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }

  .page-tongits-one__faq-question {
    padding: 10px;
  }
  .page-tongits-one__faq-title {
    font-size: 1.1em;
  }
  .page-tongits-one__faq-answer {
    padding: 0 10px;
  }
  .page-tongits-one__faq-item.active .page-tongits-one__faq-answer {
    padding: 15px 10px !important;
  }
}

@media (max-width: 480px) {
  .page-tongits-one__hero-title {
    font-size: 1.8em;
  }
  .page-tongits-one__hero-description {
    font-size: 0.95em;
  }
  .page-tongits-one__section-title {
    font-size: 1.6em;
  }
  .page-tongits-one__hero-cta-button {
    font-size: 1em;
    padding: 10px 20px;
  }
}