.page-sun-win-affiliate {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background from shared.css */
}

/* --- Global Container and Section Styles --- */
.page-sun-win-affiliate__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-sun-win-affiliate__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for main titles */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sun-win-affiliate__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: #f0f0f0;
}

/* --- CTA Button Styles (General) --- */
.page-sun-win-affiliate__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-sun-win-affiliate__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-sun-win-affiliate__btn-primary {
    background: #FFD700; /* Gold accent for primary action */
    color: #1A2E44; /* Dark blue text for contrast */
}

.page-sun-win-affiliate__btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-sun-win-affiliate__btn-secondary {
    background: #1A2E44; /* Dark blue for secondary action */
    color: #FFD700; /* Gold text for contrast */
    border: 2px solid #FFD700;
}

.page-sun-win-affiliate__btn-secondary:hover {
    background: #0f1f2e;
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}


/* --- Video Section --- */
.page-sun-win-affiliate__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #1A2E44 0%, #0c1824 100%); /* Dark gradient background */
    overflow: hidden; /* Prevent content overflow */
}

.page-sun-win-affiliate__video-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.page-sun-win-affiliate__main-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.page-sun-win-affiliate__title-description {
    font-size: 20px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-sun-win-affiliate__video-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.page-sun-win-affiliate__video-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-sun-win-affiliate__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sun-win-affiliate__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from interfering with click on parent link */
}

.page-sun-win-affiliate__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.page-sun-win-affiliate__video-link:hover .page-sun-win-affiliate__video-overlay {
    opacity: 1;
}

.page-sun-win-affiliate__video-click-hint {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    background: rgba(255, 215, 0, 0.8); /* Gold with transparency */
    border-radius: 50px;
    white-space: nowrap;
    border: 2px solid #ffffff;
}

.page-sun-win-affiliate__video-cta {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}