/* style/tintc.css */

/* Body background from shared.css is #08160F (very dark), so text color should be light */
.page-tintc {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-tintc__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-tintc__card {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-height: 500px; /* Limit height for hero image */
}

.page-tintc__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over the image slightly for visual appeal, but not overlapping text on image */
  background: rgba(17, 39, 27, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid #2E7A4E;
}

.page-tintc__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive H1 font size */
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-tintc__description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tintc__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-tintc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  border: none;
}

.page-tintc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: #2AD16F; /* Adjusted for visibility on dark background */
  border: 2px solid #2AD16F;
}

.page-tintc__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tintc__section-title {
  font-size: 2.5rem;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-tintc__section-description {
  font-size: 1.1rem;
  color: #A7D9B8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-tintc__latest-news,
.page-tintc__promotions-events,
.page-tintc__game-updates,
.page-tintc__platform-insights,
.page-tintc__video-section,
.page-tintc__faq-section,
.page-tintc__final-cta {
  padding: 60px 0;
}

.page-tintc__news-grid,
.page-tintc__promo-grid,
.page-tintc__game-showcase,
.page-tintc__info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-tintc__news-card,
.page-tintc__promo-card,
.page-tintc__game-card,
.page-tintc__info-card {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-tintc__news-image,
.page-tintc__promo-image,
.page-tintc__game-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-tintc__card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-tintc__card-title {
  font-size: 1.4rem;
  color: #F2FFF6;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: bold;
}

.page-tintc__card-title a {
  color: #F2FFF6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
  color: #57E38D; /* Glow */
}

.page-tintc__card-meta {
  font-size: 0.9rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-tintc__card-text {
  font-size: 1rem;
  color: #A7D9B8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-tintc__read-more {
  color: #57E38D; /* Glow */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin-top: auto;
  display: inline-block;
}

.page-tintc__read-more:hover {
  color: #F2C14E; /* Gold */
}

.page-tintc__button-container {
  text-align: center;
  margin-top: 50px;
}

.page-tintc__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  width: 100%; /* Desktop width */
}

.page-tintc__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: pointer;
  display: block; /* Ensure it behaves as a block element */
}

.page-tintc__faq-list {
  margin-top: 40px;
}

.page-tintc__faq-item {
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
}

.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2FFF6;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-tintc__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-tintc__faq-qtext {
  flex-grow: 1;
}

.page-tintc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
  content: '−';
}

.page-tintc__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  background-color: #11271B;
  border-top: none;
}

.page-tintc__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tintc__hero-content {
    margin-top: -100px;
  }
  .page-tintc__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }
  .page-tintc__section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-tintc__hero-section {
    padding-bottom: 40px;
  }
  .page-tintc__hero-image {
    max-height: 350px;
  }
  .page-tintc__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }
  .page-tintc__main-title {
    font-size: 2.2rem;
  }
  .page-tintc__description {
    font-size: 1rem;
  }
  .page-tintc__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-tintc__btn-primary,
  .page-tintc__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-tintc__latest-news,
  .page-tintc__promotions-events,
  .page-tintc__game-updates,
  .page-tintc__platform-insights,
  .page-tintc__video-section,
  .page-tintc__faq-section,
  .page-tintc__final-cta {
    padding: 40px 0;
  }

  .page-tintc__section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-tintc__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-tintc__news-grid,
  .page-tintc__promo-grid,
  .page-tintc__game-showcase,
  .page-tintc__info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-tintc__news-image,
  .page-tintc__promo-image,
  .page-tintc__game-image {
    height: 180px;
  }

  .page-tintc__card-title {
    font-size: 1.2rem;
  }

  .page-tintc__card-text {
    font-size: 0.9rem;
  }

  /* Mobile specific image and container rules */
  .page-tintc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__section, .page-tintc__card, .page-tintc__container,
  .page-tintc__hero-section, .page-tintc__latest-news, .page-tintc__promotions-events,
  .page-tintc__game-updates, .page-tintc__platform-insights, .page-tintc__faq-section,
  .page-tintc__final-cta, .page-tintc__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video specific mobile rules */
  .page-tintc video, .page-tintc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tintc__video-section {
    padding-top: 10px !important;
  }
  .page-tintc__video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    margin: 20px auto;
  }

  .page-tintc__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-tintc__faq-answer {
    padding: 15px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .page-tintc__hero-content {
    margin-top: -60px;
  }
  .page-tintc__main-title {
    font-size: 1.8rem;
  }
  .page-tintc__section-title {
    font-size: 1.5rem;
  }
  .page-tintc__news-image,
  .page-tintc__promo-image,
  .page-tintc__game-image {
    height: 150px;
  }
  .page-tintc__card-title {
    font-size: 1.1rem;
  }
  .page-tintc__faq-question {
    font-size: 0.95rem;
  }
}