/* --- Hero Section Start --- */
.hero-container {
    padding: 50px 0 10px;
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section {
    max-width: min(85%, var(--section-max-width));
    width: 100%;
    margin: 0 auto;
    background-color: #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 45vh;
    transition: max-width 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.video-control {
    position: absolute;
    top: 5%;
    right: 1.2%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 15;
    padding: 0;
}

.video-control i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.video-control:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-video-wrapper:hover .video-control {
    opacity: 0.7;
}

.video-control:focus {
    outline: none;
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6% 5%;
    z-index: 5;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 85%;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 60%;
    opacity: 0.9;
    line-height: 1.4;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-msg-bar {
    max-width: min(80%, var(--section-max-width));
    width: 100%;
    margin: -1.4% auto 0;
    background-color: white;
    border-radius: 16px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: max-width 0.4s ease-out;
    z-index: 10;
    flex-wrap: wrap;
    gap: 8px;
}

.info-message {
    display: flex;
    align-items: center;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.info-message i {
    margin-right: 8px;
    color: var(--accent-color);
    font-size: 16px;
}

@media (max-width: 1400px) {
    .hero-section {
        max-width: min(85%, var(--section-max-width));
        height: 40vh;
    }

    .hero-title {
        font-size: 30px;
        max-width: 100%;
    }

    .hero-subtitle,
    .hero-description {
        font-size: 16px;
    }

    .hero-description {
        max-width: 85%;
    }

    .hero-msg-bar {
        max-width: min(75%, var(--section-max-width));
        padding: 12px 25px;
    }

    .info-message {
        font-size: 13px;
    }

    .info-message i {
        font-size: 16px;
    }

    .hero-cta {
        gap: 12px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        max-width: min(90%, var(--section-max-width));
        height: 28vh;
    }

    .hero-title {
        font-size: 24px;
        font-weight: 600;
    }

    .hero-subtitle {
        font-weight: 600;
    }

    .hero-description {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-cta {
        gap: 10px;
    }

    .hero-msg-bar {
        max-width: min(88%, var(--section-max-width));
        padding: 12px 16px;
    }

    .info-message {
        font-size: 11px;
        font-weight: 600;
    }

    .info-message i {
        font-size: 13px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 13px;
        padding: 8px 16px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 20px 0 12px;
    }

    .hero-section {
        max-width: min(90%, var(--section-max-width));
        height: 30vh;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 0 10px;
    }

    .hero-section {
        max-width: min(95%, var(--section-max-width));
        height: 30vh;
    }

    .hero-title {
        font-size: 16px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 12px;
        max-width: 100%;
    }

    .hero-description {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .hero-cta {
        font-size: 10px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 10px;
    }

    .info-message span {
        display: none;
    }

    .hero-msg-bar {
        max-width: min(65%, var(--section-max-width));
        border-radius: 10px;
        margin: -4% auto 0 !important;
    }

    .info-message i {
        font-size: 14px;
        margin-right: 0;
    }

    .video-control {
        width: 24px;
        height: 24px;
        top: 4%;
        right: 2%;
    }

    .video-control i {
        font-size: 9px;
    }
}

/* --- Hero Section End --- */


/* --- Partners Showcase Section --- */
.partners-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.partners-section-container {
    padding: 0 30px;
    max-width: min(85%, var(--section-max-width));
    margin: 0 auto;
}

.partners-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, white 10%, white 90%, transparent 100%);
}

.partners-track {
    display: flex;
    align-items: center;
    animation: scroll-partners 30s linear infinite;
    width: calc(200px * 16);
    /* 8 partners * 2 (for loop) * 200px width */
}

.partner-logo {
    flex: 0 0 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    position: relative;
}

.partner-logo img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.2) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * 8));
        /* Move by width of 8 partners */
    }
}

.partners-carousel:hover .partners-track {
    animation-play-state: paused;
}

@media (max-width: 992px) {
    .partners-section-container {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .partner-logo {
        flex: 0 0 175px;
        padding: 0 15px;
    }

    .partners-track {
        width: calc(150px * 16);
        animation: scroll-partners-mobile 25s linear infinite;
    }

    @keyframes scroll-partners-mobile {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 8));
        }
    }
}

@media (max-width: 480px) {
    .partner-logo {
        flex: 0 0 150px;
        height: 60px;
        padding: 0 10px;
    }

    .partner-logo img {
        max-width: 100px;
        max-height: 40px;
    }

    .partners-track {
        width: calc(120px * 16);
        animation: scroll-partners-small 20s linear infinite;
    }

    @keyframes scroll-partners-small {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-120px * 8));
        }
    }
}

/* --- Partners Showcase Section End --- */


/* --- Looking For Section Start --- */
.looking-for {
    padding: 30px 0;
}

.looking-for-container {
    padding: 0 30px;
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.audience-card {
    background: #f8f9fa;
    padding: 22px 25px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.audience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.audience-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 22px;
    right: 25px;
    margin-bottom: 0;
}

.audience-icon i {
    font-size: 20px;
    color: white;
}

.audience-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 12px;
    margin-right: 70px;
}

.audience-card p {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    margin-right: 70px;
}

.audience-card ul {
    list-style: none;
    padding: 0;
}

.audience-card li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.audience-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

@media (max-width: 1400px) {
    .looking-for-container {
        max-width: min(90%, var(--section-max-width));
        padding: 0;
    }

    .audience-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        margin-top: 20px;
    }

    .audience-card {
        padding: 18px 20px;
    }

    .audience-icon {
        width: 42px;
        height: 42px;
        top: 16px;
        right: 16px;
        border-radius: 12px;
    }

    .audience-icon i {
        font-size: 18px;
    }

    .audience-card p {
        font-size: 13px;
        margin: 0 45px 12px 0;
    }

    .audience-card ul li {
        font-size: 13px;
    }

}

@media (max-width: 992px) {
    .looking-for {
        padding: 20px 0;
    }

    .audience-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .looking-for {
        padding: 10px 0;
    }

    .audience-grid {
        gap: 12px;
    }

    .audience-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .audience-card p,
    .audience-card ul li {
        font-size: 12px;
    }

    .audience-card ul li {
        margin-bottom: 6px;
    }

    .audience-icon {
        width: 40px;
        height: 40px;
        top: 14px;
        right: 14px;
    }

    .audience-icon i {
        font-size: 18px;
    }
}

/* --- Looking For Section End --- */


/* --- How It Works Section Start --- */
.how-it-works-section {
    padding: 30px 0;
}

.how-it-works-section .image-banner {
    max-width: min(90%, var(--section-max-width));
    width: 100%;
    margin: 0 auto 0;
    background-color: #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    height: 30vh;
    transition: max-width 0.4s ease-out;
}

.how-it-works-section .image-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.banner-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6% 5%;
    z-index: 5;
    color: white;
    text-align: center;
}

.banner-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.2;
}

.banner-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 85%;
}

.how-it-works-container {
    max-width: min(85%, var(--section-max-width));
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
    margin-top: -4.5%;
}

.how-it-works-header {
    text-align: center;
    margin-bottom: 20px;
}

.how-it-works-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 10px auto 0;
}

.how-it-works-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    background-color: white;
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1.65;
}

@media (max-width: 1400px) {
    .how-it-works-section .image-banner {
        height: 25vh;
    }

    .how-it-works-container {
        max-width: min(88%, var(--section-max-width));
    }

    .banner-title {
        font-size: 28px;
        font-weight: 600;
    }

    .banner-subtitle {
        font-size: 16px;
    }

    .how-it-works-container {
        padding: 0;
    }

    .steps-container {
        padding: 20px 10px;
        gap: 12px;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 15px;
    }

    .step-item h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 12px;
        font-weight: 600;
        max-width: 95%;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .how-it-works-section {
        padding: 20px 0;
    }

    .how-it-works-section .image-banner {
        height: 15vh;
    }

    .how-it-works-container {
        max-width: min(85%, var(--section-max-width));
    }

    .banner-title {
        font-size: 24px;
    }

    .steps-container {
        padding: 20px 16px;
        gap: 20px 12px;
    }

    .step-content p {
        max-width: 98%;
    }
}

@media (max-width: 480px) {
    .how-it-works-section {
        padding: 10px 0;
    }

    .how-it-works-section .image-banner {
        height: 18vh;
    }

    .banner-title {
        font-size: 18px;
        max-width: 100%;
    }

    .banner-subtitle {
        font-size: 12px;
        margin: 0;
    }

    .how-it-works-container {
        max-width: min(80%, var(--section-max-width));
    }

    .steps-container {
        gap: 16px;
    }

    .step-item {
        padding-bottom: 12px;
    }

    .step-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 1px;
        background-color: #e0e0e0;
    }

    .step-item:last-child {
        padding-bottom: 0;
    }

    .step-item:last-child::after {
        display: none;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 15px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .step-content h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .step-content p {
        font-size: 11px;
        font-weight: 500;
    }
}

/*  --- How It Works Section End --- */


/* --- Affiliate Mapping Section Start --- */
.affiliate-mapping {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.affiliate-mapping::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.affiliate-mapping-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
    padding: 0 20px;
}

.map-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    margin-top: 20px;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Map Stats Sidebar */
.map-stats-sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.total-affiliates {
    margin-bottom: 30px;
    text-align: center;
}

.total-affiliates h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.affiliate-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
}

.count-number {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #a71c1c, #6907c5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.count-growth {
    font-size: 14px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.region-breakdown {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.region-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.region-item:last-child {
    border-bottom: none;
}

.region-item:hover {
    transform: translateX(5px);
    background: rgba(167, 28, 28, 0.02);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}

.region-item.active {
    background: rgba(167, 28, 28, 0.05);
    border-radius: 8px;
    padding-left: 12px;
    padding-right: 12px;
}

.region-info {
    flex: 1;
    margin-right: 16px;
}

.region-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 6px;
}

.region-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #a71c1c, #6907c5);
    border-radius: 2px;
    transition: width 0.8s ease;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.region-percentage {
    font-size: 16px;
    font-weight: 700;
    color: #a71c1c;
    min-width: 40px;
    text-align: right;
}

.world-map-wrapper {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.world-map {
    width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.1));
}

/* Map Animations */
.marker-pulse {
    animation: pulse 2s infinite;
    transform-origin: center;
}

.marker-dot {
    transition: all 0.3s ease;
    cursor: pointer;
}

.marker-group:hover .marker-dot {
    transform: scale(1.5);
    filter: url(#glow) brightness(1.2);
}

.marker-group:hover .marker-pulse {
    animation-duration: 0.8s;
    stroke-width: 3;
}

@keyframes pulse {
    0% {
        r: 6;
        opacity: 0.8;
    }

    50% {
        r: 12;
        opacity: 0.3;
    }

    100% {
        r: 18;
        opacity: 0;
    }
}

/* Tooltip Styling */
.tooltip-container {
    pointer-events: none;
    transition: all 0.3s ease;
}

.tooltip-bg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.tooltip-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Interactive States */
.region-item[data-region="uk"]:hover~.world-map-wrapper .marker-group[data-region="uk"] .marker-pulse,
.region-item[data-region="europe"]:hover~.world-map-wrapper .marker-group[data-region="europe"] .marker-pulse,
.region-item[data-region="ireland"]:hover~.world-map-wrapper .marker-group[data-region="ireland"] .marker-pulse {
    animation-duration: 0.5s;
    stroke-width: 4;
    opacity: 1;
}

.connection-line {
    stroke: #a71c1c;
    stroke-width: 1;
    opacity: 0.3;
    stroke-dasharray: 5, 5;
    animation: dash 3s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -10;
    }
}

.floating-stats {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.glow-effect {
    filter: drop-shadow(0 0 10px rgba(167, 28, 28, 0.5));
}

.data-flow {
    stroke: url(#gradient);
    stroke-width: 2;
    fill: none;
    opacity: 0.6;
    animation: flow 4s ease-in-out infinite;
}

@keyframes flow {

    0%,
    100% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 20;
    }
}

@media (max-width: 1400px) {
    .affiliate-mapping-container {
        padding: 0;
        max-width: min(90%, var(--section-max-width));
    }

    .total-affiliates {
        margin-bottom: 12px;
    }

    .region-breakdown {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .affiliate-mapping {
        padding: 20px 0;
    }

    .map-container {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }

    .map-stats-sidebar {
        padding: 20px 30px;
    }

    .map-stats-sidebar h3 {
        font-size: 16px;
    }

    .total-affiliates {
        margin-bottom: 6px;
    }

    .count-number {
        font-size: 22px;
    }

    .count-growth {
        font-size: 10px;
        padding: 2px 6px;
    }

    .region-item {
        padding: 6px 0 14px;
    }

    .region-name {
        font-size: 14px;
    }

    .region-percentage {
        font-size: 14px;
    }

    .world-map-wrapper {
        max-width: min(100%, var(--section-max-width));
    }
}

@media (max-width: 768px) {
    .map-container {
        grid-template-columns: 235px 1fr;
        gap: 20px;
    }

    .region-name {
        font-size: 12px;
    }

    .region-percentage {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .affiliate-mapping {
        padding: 20px 0;
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .map-stats-sidebar {
        order: 2;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    }

    .world-map-wrapper {
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        padding: 12px;
    }

    .map-stats-sidebar h3 {
        margin-bottom: 8px;
    }

    .count-number {
        font-size: 20px;
    }

    .region-item {
        padding: 0 0 12px;
    }
}

/* --- Affiliate Mapping Section End --- */


/* --- Support & Resources Section Start --- */
.support-resources {
    padding: 30px 0;
}

.support-resources-container {
    max-width: min(90%, var(--max-container-width));
    margin: 0 auto;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 20px 0;
    margin: 0 auto;
    max-width: min(90%, var(--section-max-width));
}

.resource-category {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 22px 30px 18px 30px;
}

.resource-category:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.resource-category h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.resource-category h3 i {
    margin-right: 12px;
    color: var(--accent-color);
    font-size: 18px;
}

.resource-category p {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.resource-category ul {
    list-style: none;
    padding: 0;
}

.resource-category li {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}

.resource-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.resource-category li:last-child {
    margin-bottom: 0;
}

.resources-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.resources-cta a {
    text-decoration: none;
}

.cta-btn {
    width: 100%;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease, background-position 0.6s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    letter-spacing: 0.5px;
    width: fit-content;
    display: block;
    margin: 20px auto 0;
}

.cta-btn:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
}

.cta-btn-note {
    text-align: center;
    font-size: 12px !important;
    font-weight: 500;
    color: #999;
    margin: 16px 0 0 0 !important;
}

@media (max-width: 1400px) {
    .resources-grid {
        margin: 12px auto 0;
        padding: 0;
        max-width: min(95%, var(--section-max-width));
    }

    .cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .support-resources {
        padding: 20px 0;
    }

    .resources-grid {
        max-width: 100%;
    }

    .resource-category {
        padding: 18px 22px;
    }

    .resource-category p {
        width: 100%;
    }

    .resource-category li {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .resource-category h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .resource-category p {
        font-size: 13px;
    }

    .resource-category li {
        font-weight: 400;
    }
}

@media (max-width: 480px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cta-btn {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 12px;
    }

    .cta-btn-note {
        font-size: 10px !important;
    }
}

/* --- Support & Resources Section End --- */


/* --- Earnings Potential Calculator Section Start --- */
.earnings-section {
    padding: 30px 0;
    background: linear-gradient(135deg, rgb(26, 26, 26) 0%, rgb(45, 45, 45) 100%);
    color: white;
    margin: 0 auto;
}

.earnings-container {
    max-width: min(60%, var(--section-max-width));
    margin: 0 auto;
}

.earnings-header .section-label {
    background: linear-gradient(270deg, #a71c1c, #6907c5);
}

.earnings-header {
    text-align: center;
    margin-bottom: 30px;
}

.earnings-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 10;
}

.earnings-header h2::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20%;
    height: 8px;
    background: linear-gradient(270deg, #a71c1c, #6907c5);
    opacity: 0.75;
    box-shadow: 0 0 12px rgba(0, 0, 0, 1);
    border-radius: 3px;
    z-index: -1;
}

.earnings-header p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #ccc;
}

.earnings-calculator {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-input h3,
.earnings-result h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ccc;
}

.input-group select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
}

.input-group select option {
    background: #1a1a1a;
    color: white;
}

.earnings-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.earnings-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.success-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 13px;
    color: #ccc;
}

@media (max-width: 1400px) {
    .earnings-container {
        max-width: min(80%, var(--section-max-width));
    }

    .earnings-calculator h3,
    .earnings-result h3 {
        font-size: 16px;
    }

    .input-group:last-child {
        margin-bottom: 0;
    }

    .earnings-amount {
        font-size: 32px;
    }

    .stat-item {
        padding: 16px;
    }

    .stat-item h4 {
        font-size: 24px;
    }

    .stat-item p {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .earnings-container {
        max-width: min(90%, var(--section-max-width));
    }

    .earnings-header {
        margin-bottom: 12px;
    }

    .earnings-header h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .earnings-header p {
        margin-bottom: 0;
    }

    .earnings-calculator {
        padding: 16px;
    }

    .earnings-calculator h3,
    .earnings-result h3 {
        font-size: 16px;
    }

    .success-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-item h4 {
        font-size: 20px;
    }

    .stat-item p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .earnings-header p {
        font-size: 12px;
    }

    .earnings-calculator {
        grid-template-columns: 1fr 0.8fr;
        padding: 20px;
        gap: 20px;
        margin-bottom: 12px;
    }

    .earnings-calculator h3 {
        font-size: 14px;
        font-weight: 600;
    }

    .input-group {
        margin-bottom: 12px;
    }

    .input-group label {
        font-size: 11px;
    }

    .input-group select {
        padding: 10px 6px;
        font-size: 11px;
    }

    .earnings-amount {
        font-size: 24px;
    }

    .earnings-note {
        font-size: 10px;
    }

    .stat-item {
        padding: 12px;
    }

    .stat-item h4 {
        font-size: 20px;
    }

    .stat-item p {
        font-size: 10px;
    }
}

/* --- Earnings Potential Calculator Section End --- */