/* style/terms-conditions.css */
.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on default light background */
    background-color: #f8f8f8;
}

.page-terms-conditions__hero-section {
    background-color: #A00000; /* Main brand color for hero */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:1920x1080:thabet 88,abstract,red gold,secure,gaming]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-terms-conditions__hero-section .page-terms-conditions__container {
    position: relative;
    z-index: 1;
}

.page-terms-conditions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions__description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

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

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-terms-conditions__cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #A00000; /* Dark red text */
}

.page-terms-conditions__cta-button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__cta-button--secondary {
    background-color: #A00000; /* Dark red button */
    color: #ffffff;
    border: 2px solid #FFD700;
}

.page-terms-conditions__cta-button--secondary:hover {
    background-color: #8a0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #A00000;
    margin-bottom: 30px;
    text-align: left;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
    display: inline-block;
    max-width: 100%;
}

.page-terms-conditions__sub-title {
    font-size: 1.6em;
    color: #A00000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #444444;
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444444;
}

.page-terms-conditions__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-terms-conditions__list li strong {
    color: #A00000;
}

.page-terms-conditions__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__link {
    color: #A00000;
    text-decoration: underline;
    font-weight: bold;
}

.page-terms-conditions__link:hover {
    color: #FFD700;
}

.page-terms-conditions__register-cta {
    background-color: #A00000; /* Dark red background */
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-terms-conditions__register-title {
    font-size: 2.5em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-terms-conditions__register-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.4em;
    }
    .page-terms-conditions__register-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-terms-conditions__main-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__description,
    .page-terms-conditions__text-block p,
    .page-terms-conditions__list li {
        font-size: 1em;
    }
    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-terms-conditions__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-terms-conditions__container {
        padding: 0 15px;
    }
    .page-terms-conditions__content-section {
        padding: 40px 0;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.3em;
    }
    .page-terms-conditions__register-cta {
        padding: 40px 15px;
    }
    .page-terms-conditions__register-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__register-description {
        font-size: 1em;
    }
    .page-terms-conditions img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__hero-section::before {
        background-size: contain; /* Adjust background image for mobile */
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__description {
        font-size: 0.95em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.6em;
    }
    .page-terms-conditions__sub-title {
        font-size: 1.2em;
    }
    .page-terms-conditions__register-title {
        font-size: 1.6em;
    }
}