/* style/tintc.css */

/* Custom Colors from prompt */
:root {
  --page-tintc-primary-color: #11A84E; /* Main color */
  --page-tintc-secondary-color: #22C768; /* Auxiliary color */
  --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-tintc-card-bg: #11271B;
  --page-tintc-background: #08160F;
  --page-tintc-text-main: #F2FFF6;
  --page-tintc-text-secondary: #A7D9B8;
  --page-tintc-border-color: #2E7A4E;
  --page-tintc-glow-color: #57E38D;
  --page-tintc-gold-color: #F2C14E;
  --page-tintc-divider-color: #1E3A2A;
  --page-tintc-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-tintc {
  background-color: var(--page-tintc-background); /* Dark background */
  color: var(--page-tintc-text-main); /* Light text for readability */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Section container for consistent padding and max-width */
.page-tintc__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-tintc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-tintc-deep-green); /* A darker shade for hero background */
  overflow: hidden;
}

.page-tintc__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

.page-tintc__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-tintc__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-tintc__main-title {
  color: var(--page-tintc-text-main);
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.page-tintc__lead-text {
  color: var(--page-tintc-text-secondary);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

/* General Section Styling */
.page-tintc__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--page-tintc-divider-color);
}

.page-tintc__section:last-of-type {
  border-bottom: none;
}

.page-tintc__section-title {
  color: var(--page-tintc-text-main);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.page-tintc__section-description {
  color: var(--page-tintc-text-secondary);
  font-size: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-tintc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for wrapping */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons don't exceed container width */
  min-width: 180px; /* Minimum width for better appearance */
}

.page-tintc__btn-primary {
  background: var(--page-tintc-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-tintc__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-tintc__btn-secondary {
  background-color: transparent;
  color: var(--page-tintc-secondary-color);
  border: 2px solid var(--page-tintc-secondary-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-tintc__btn-secondary:hover {
  background-color: var(--page-tintc-secondary-color);
  color: var(--page-tintc-text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

.page-tintc__news-card,
.page-tintc__announcement-card,
.page-tintc__promo-card,
.page-tintc__game-card {
  background-color: var(--page-tintc-card-bg); /* Darker card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}