:root {
    --page-ththao-bg: #08160F;
    --page-ththao-card-bg: #11271B;
    --page-ththao-text-main: #F2FFF6;
    --page-ththao-text-secondary: #A7D9B8;
    --page-ththao-border: #2E7A4E;
    --page-ththao-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-ththao-glow: #57E38D;
    --page-ththao-gold: #F2C14E;
    --page-ththao-divider: #1E3A2A;
    --page-ththao-deep-green: #0A4B2C;
}

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

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

/* Sections */
.page-ththao__hero-section,
.page-ththao__advantages-section,
.page-ththao__live-betting-section,
.page-ththao__guide-section,
.page-ththao__final-cta-section,
.page-ththao__faq-section {
    background-color: var(--page-ththao-bg);
    color: var(--page-ththao-text-main);
    padding: 80px 0;
}

.page-ththao__categories-section,
.page-ththao__promotions-section,
.page-ththao__security-section {
    background-color: #f8f9fa; /* Lighter background for contrast */
    color: #333333; /* Dark text for light background */
    padding: 80px 0;
}

.page-ththao__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as per instructions */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-ththao__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.page-ththao__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.page-ththao__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-ththao__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Use clamp for H1 */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-ththao-gold);
}

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

.page-ththao__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.page-ththao__cta-buttons--center {
    margin-top: 40px;
}

/* Buttons */
.page-ththao__btn-primary,
.page-ththao__btn-secondary,
.page-ththao__btn-small {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-ththao__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-ththao__btn-secondary {
    background: transparent;
    color: var(--page-ththao-glow);
    border: 2px solid var(--page-ththao-glow);
}

.page-ththao__btn-secondary:hover {
    background: var(--page-ththao-glow);
    color: var(--page-ththao-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: var(--page-ththao-btn-gradient);
    color: #ffffff;
    border: none;
    border-radius: 30px;
}

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

/* General Section Styling */
.page-ththao__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-ththao-gold);
}

.page-ththao__categories-section .page-ththao__section-title,
.page-ththao__promotions-section .page-ththao__section-title,
.page-ththao__security-section .page-ththao__section-title {
    color: #333333;
}

.page-ththao__text-block {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--page-ththao-text-secondary);
}

.page-ththao__categories-section .page-ththao__text-block,
.page-ththao__promotions-section .page-ththao__text-block,
.page-ththao__security-section .page-ththao__text-block {
    color: #555555;
}

/* Advantages Section */
.page-ththao__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-ththao__feature-item {
    text-align: center;
    background-color: var(--page-ththao-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-ththao-border);
}

.page-ththao__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-ththao__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-ththao-glow);
}

.page-ththao__feature-description {
    font-size: 1rem;
    color: var(--page-ththao-text-secondary);
}

/* Categories Section */
.page-ththao__sport-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-ththao__sport-card {
    background-color: #ffffff;
    color: #333333;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.page-ththao__sport-card .page-ththao__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-ththao__sport-card .page-ththao__card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-ththao-deep-green);
}

.page-ththao__sport-card .page-ththao__card-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555555;
}

/* Live Betting Section */
.page-ththao__live-betting-section {
    text-align: center;
}

.page-ththao__live-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-ththao__live-feature-item {
    background-color: var(--page-ththao-card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--page-ththao-border);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-ththao__live-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--page-ththao-glow);
}

.page-ththao__live-feature-description {
    font-size: 1rem;
    color: var(--page-ththao-text-secondary);
}