:root {
    --page-tintc-primary-color: #11A84E; /* Main color */
    --page-tintc-secondary-color: #22C768; /* Auxiliary color */
    --page-tintc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    --page-tintc-card-bg: #11271B; /* Card background */
    --page-tintc-bg: #08160F; /* Section background */
    --page-tintc-text-main: #F2FFF6; /* Main text color */
    --page-tintc-text-secondary: #A7D9B8; /* Secondary text color */
    --page-tintc-border-color: #2E7A4E; /* Border color */
    --page-tintc-glow-color: #57E38D; /* Glow color */
    --page-tintc-gold-color: #F2C14E; /* Gold color */
    --page-tintc-divider-color: #1E3A2A; /* Divider color */
    --page-tintc-deep-green: #0A4B2C; /* Deep Green color */
}

.page-tintc {
    background-color: var(--page-tintc-bg); /* Dark background */
    color: var(--page-tintc-text-main); /* Light text for dark 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;
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-tintc__hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-tintc__main-title {
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size */
    color: var(--page-tintc-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

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

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background: var(--page-tintc-btn-gradient);
    color: #ffffff;
    border: none;
}

.page-tintc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: var(--page-tintc-primary-color);
    border: 2px solid var(--page-tintc-primary-color);
}

.page-tintc__btn-secondary:hover {
    background-color: var(--page-tintc-primary-color);
    color: #ffffff;
}

/* General Sections */
.page-tintc__dark-section {
    background-color: var(--page-tintc-deep-green); /* Use a slightly different dark green for contrast */
    padding: 60px 0;
    color: var(--page-tintc-text-main);
}

.page-tintc__section-title {
    font-size: clamp(1.8rem, 3.5vw + 1rem, 2.8rem);
    color: var(--page-tintc-gold-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.page-tintc__news-card,
.page-tintc__promo-card {
    background-color: var(--page-tintc-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tintc__news-card:hover,
.page-tintc__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-tintc__card-title a {
    color: var(--page-tintc-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
    color: var(--page-tintc-primary-color);
}

.page-tintc__card-meta {
    font-size: 0.9rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 15px;
}

.page-tintc__card-text {
    font-size: 0.95rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__card-link {
    display: inline-block;
    color: var(--page-tintc-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-tintc__card-link:hover {
    text-decoration: underline;
    color: var(--page-tintc-gold-color);
}

.page-tintc__view-all {
    text-align: center;
    margin-top: 20px;
}

/* Update Item Styles */
.page-tintc__general-updates {
    padding: 60px 0;
    background-color: var(--page-tintc-bg);
    color: var(--page-tintc-text-main);
}

.page-tintc__update-item {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    background-color: var(--page-tintc-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 30px;
}

.page-tintc__update-item:last-child {
    margin-bottom: 0;
}

.page-tintc__update-image {
    width: 40%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.page-tintc__update-content {
    width: 60%;
}

.page-tintc__update-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--page-tintc-primary-color);
    margin-bottom: 10px;
}

.page-tintc__update-meta {
    font-size: 0.9rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 15px;
}

.page-tintc__update-text {
    font-size: 1rem;
    color: var(--page-tintc-text-main);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-tintc__faq-section {
    padding: 60px 0;
}

.page-tintc__faq-item {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-tintc__faq-item[open] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--page-tintc-text-main);
    cursor: pointer;
    background-color: var(--page-tintc-card-bg);
    border-bottom: 1px solid var(--page-tintc-divider-color);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-tintc__faq-question::-webkit-details-marker {
    display: none; /* For details/summary */
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
    background-color: var(--page-tintc-deep-green);
    border-bottom: 1px solid var(--page-tintc-primary-color);
}

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

.page-tintc__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--page-tintc-primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.page-tintc__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
}

.page-tintc__faq-answer p {
    margin-top: 15px;
}

/* Bottom CTA Section */
.page-tintc__cta-bottom {
    padding: 80px 0;
    text-align: center;
}

/* Ensure all content images are responsive and not smaller than 200px */
.page-tintc img {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tintc__hero-content {
        padding: 0 15px;
    }

    .page-tintc__update-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .page-tintc__update-image,
    .page-tintc__update-content {
        width: 100%;
    }

    .page-tintc__update-image {
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .page-tintc__container {
        padding: 0 15px;
    }

    .page-tintc__hero-section {
        padding-bottom: 40px;
    }

    .page-tintc__main-title {
        font-size: clamp(1.8rem, 6vw + 1rem, 2.5rem);
    }

    .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;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-tintc__section-title {
        font-size: clamp(1.5rem, 5vw + 1rem, 2.2rem);
    }

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

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

    .page-tintc__card-image {
        height: 180px;
    }

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

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

    .page-tintc__update-title {
        font-size: 1.3rem;
    }

    .page-tintc__update-text {
        font-size: 0.95rem;
    }

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

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

    /* Mobile image responsiveness */
    .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__featured-news,
    .page-tintc__general-updates,
    .page-tintc__game-news,
    .page-tintc__promotions-news,
    .page-tintc__faq-section,
    .page-tintc__cta-bottom {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    .page-tintc__video-section {
      padding-top: 10px !important;
    }
}