/* style/tin-tc.css */

:root {
    --primary-color: #1A202C;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark-section: #2a3447;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --button-hover-dark: #ccad00;
}

.page-tin-tc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

.page-tin-tc h1, .page-tin-tc h2, .page-tin-tc h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-tin-tc h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
}

.page-tin-tc h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
}

.page-tin-tc h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-tin-tc p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-tin-tc a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tc a:hover {
    color: var(--button-hover-dark);
    text-decoration: underline;
}

/* Hero News Section */
.page-tin-tc .hero-news-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 80px 20px;
}

.page-tin-tc .hero-news-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-tin-tc .hero-news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 32, 44, 0.7), rgba(26, 32, 44, 0.9));
    z-index: 2;
}

.page-tin-tc .hero-news-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
}

.page-tin-tc .hero-news-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-tin-tc .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-tin-tc .cta-button:hover {
    background: var(--button-hover-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

.page-tin-tc .cta-button.small {
    padding: 10px 25px;
    font-size: 0.9em;
}

.page-tin-tc .cta-button.large {
    padding: 18px 50px;
    font-size: 1.2em;
}

/* Latest News Section */
.page-tin-tc .latest-news-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-tin-tc .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .news-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tc .news-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-tin-tc .news-card-content {
    padding: 25px;
}

.page-tin-tc .news-card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-tin-tc .news-title-link {
    color: var(--primary-color);
    font-size: 1.3em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.page-tin-tc .news-title-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-tin-tc .news-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.page-tin-tc .read-more-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
}

/* Promotion Updates Section */
.page-tin-tc .promotion-updates-section {
    background-color: var(--bg-dark-section);
    color: var(--text-light);
    padding: 60px 0;
}

.page-tin-tc .promotion-updates-section h2, .page-tin-tc .promotion-updates-section p {
    color: var(--text-light);
}

.page-tin-tc .promo-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .promo-item {
    background: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.page-tin-tc .promo-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

.page-tin-tc .promo-content h3 {
    color: var(--secondary-color);
    margin-top: 0;
}

.page-tin-tc .promo-content p {
    color: #cccccc;
    font-size: 1em;
    flex-grow: 1;
}

.page-tin-tc .disclaimer {
    font-size: 0.9em;
    color: #aaa;
    text-align: center;
    margin-top: 30px;
}

/* Industry Insights Section */
.page-tin-tc .industry-insights-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-tin-tc .industry-insights-section p {
    text-align: justify;
}

/* Game Guides Section */
.page-tin-tc .game-guides-section {
    padding: 60px 0;
    background-color: #f0f3f5;
}

.page-tin-tc .guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .guide-card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tc .guide-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-tin-tc .guide-card-content {
    padding: 25px;
}

.page-tin-tc .guide-card-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-tin-tc .guide-title-link {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.page-tin-tc .guide-title-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Call to Action Section */
.page-tin-tc .call-to-action-section {
    background: linear-gradient(135deg, var(--primary-color), #2a3447);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-tin-tc .call-to-action-section h2 {
    color: var(--secondary-color);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.page-tin-tc .call-to-action-section p {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* FAQ Section */
.page-tin-tc .faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-tin-tc .faq-section h2 {
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fcfcfc;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
    border-top: 1px solid #f0f0f0;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tin-tc h1 {
        font-size: 2.2em;
    }
    .page-tin-tc h2 {
        font-size: 1.8em;
    }
    .page-tin-tc h3 {
        font-size: 1.4em;
    }
    .page-tin-tc .news-grid, .page-tin-tc .promo-list, .page-tin-tc .guide-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-tin-tc .hero-news-section {
        min-height: 400px;
        padding: 60px 15px;
    }
    .page-tin-tc .hero-news-content p {
        font-size: 1.1em;
    }
    .page-tin-tc .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-tin-tc .call-to-action-section h2 {
        font-size: 2em;
    }
    .page-tin-tc .call-to-action-section p {
        font-size: 1.1em;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-question, .faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-tin-tc h1 {
        font-size: 1.8em;
    }
    .page-tin-tc h2 {
        font-size: 1.6em;
    }
    .page-tin-tc h3 {
        font-size: 1.2em;
    }
    .page-tin-tc p {
        font-size: 1em;
    }
    .page-tin-tc .hero-news-section {
        min-height: 350px;
        padding: 40px 15px;
    }
    .page-tin-tc .hero-news-content p {
        font-size: 1em;
    }
    .page-tin-tc .cta-button.large {
        padding: 15px 35px;
        font-size: 1.1em;
    }
    .page-tin-tc .news-card-image, .page-tin-tc .promo-image, .page-tin-tc .guide-card-image {
        height: 180px;
    }
    .page-tin-tc .news-card-content, .page-tin-tc .promo-content, .page-tin-tc .guide-card-content {
        padding: 20px;
    }
    .faq-question {
        padding: 15px 15px;
    }
    .faq-answer {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .page-tin-tc h1 {
        font-size: 1.6em;
    }
    .page-tin-tc h2 {
        font-size: 1.4em;
    }
    .page-tin-tc .news-grid, .page-tin-tc .promo-list, .page-tin-tc .guide-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tc .hero-news-section {
        min-height: 300px;
    }
    .page-tin-tc .cta-button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-tin-tc .call-to-action-section h2 {
        font-size: 1.8em;
    }
    .page-tin-tc .call-to-action-section p {
        font-size: 1em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
}