/* ============================================
   Fraud Awareness Banner Section Styles
   ============================================ */

.fraud-awareness-banner {
    width: 100%;
    /* Aspect ratio: 1440/206 = 6.99, so height scales with width */
    min-height: calc(100vw / 6.99);
    padding: 40px 120px;
    position: relative;
    overflow: hidden;
}

.fraud-awareness-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://pocketly-public-bucket.s3.ap-south-1.amazonaws.com/cd392a0d-49cb-4b0c-a0de-f9de1c5619e5.png');
    background-size: 100% 100%;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.fraud-banner-container {
    position: relative;
    z-index: 1;
}

.fraud-banner-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Heading Section */
.fraud-banner-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.fraud-shield-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.fraud-heading-text {
    font-family: 'Geist', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
    margin: 0;
    background: linear-gradient(90deg, #5E4D0E 0%, #1E7B17 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Hide mobile break on desktop */
.fraud-mobile-break {
    display: none;
}

/* Divider Line */
.fraud-divider {
    width: 100%;
    height: 0;
    border: 1px solid transparent;
    border-image-source: linear-gradient(90deg, #E9DCA3 0%, rgba(244, 250, 218, 0) 45%);
    border-image-slice: 1;
    margin: 0;
}

/* Points Container */
.fraud-points-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}

/* Individual Point */
.fraud-point {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.fraud-point-icon-wrapper {
    width: 56px;
    height: 56px;
    background-color: rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fraud-point-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Slightly larger rupee icon (second point) */
.fraud-point:nth-child(2) .fraud-point-icon {
    width: 28px;
    height: 28px;
}

.fraud-point-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fraud-point-title {
    font-family: 'Geist', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    color: #444444;
}

.fraud-point-text {
    font-family: 'Geist', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    color: #444444;
}

.fraud-point-text a {
    color: #444444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.fraud-point-text a:hover {
    color: #444444;
    text-decoration: underline;
}

/* Responsive Design */
/* Large screens (1440px and above) */
@media (min-width: 1440px) {
    .fraud-awareness-banner {
        min-height: 206px;
    }
    
    .fraud-awareness-banner::before {
        background-size: 100% 100%;
    }
}

/* Medium-large screens (1024px to 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .fraud-awareness-banner {
        padding: 40px 80px;
        min-height: calc(100vw / 6.99);
    }
    
    .fraud-awareness-banner::before {
        background-size: 100% 100%;
    }
}

/* Tablets (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .fraud-awareness-banner {
        padding: 40px 40px;
        min-height: calc(100vw / 6.99);
    }
    
    .fraud-awareness-banner::before {
        background-size: 100% 100%;
    }
    
    .fraud-points-container {
        gap: 16px;
    }
    
    .fraud-point-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .fraud-point-icon {
        width: 22px;
        height: 22px;
    }

    /* Larger rupee icon on tablets */
    .fraud-point:nth-child(2) .fraud-point-icon {
        width: 24px;
        height: 24px;
    }
    
    .fraud-point-title {
        font-size: 13px;
    }
    
    .fraud-point-text {
        font-size: 11px;
    }
}

/* Small tablets and large phones (481px to 767px) */
@media (max-width: 767px) {
    .fraud-awareness-banner {
        padding: 32px 24px;
        min-height: calc(100vw / 6.99);
    }
    
    .fraud-awareness-banner::before {
        background-image: url('https://pocketly-public-bucket.s3.ap-south-1.amazonaws.com/9d70927b-d2e4-4bd2-91b3-7fb85e5d41d1.png');
        background-size: cover;
        background-position: center center;
    }
    
    .fraud-banner-heading {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        gap: 12px; /* extra gap between icon and heading text on mobile */
    }
    
    .fraud-divider {
        /* Let the line stay visible for longer before fading on mobile */
        border-image-source: linear-gradient(
            90deg,
            #E9DCA3 0%,
            rgba(244, 250, 218, 0) 70%
        );
    }
    
    .fraud-heading-text {
        font-size: 20px;
    }
    
    /* Show mobile break on mobile screens */
    .fraud-mobile-break {
        display: block;
    }
    
    .fraud-shield-icon {
        width: 28px;
        height: 28px;
    }
    
    .fraud-points-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .fraud-point {
        gap: 12px;
    }
    
    .fraud-point-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .fraud-point-icon {
        width: 20px;
        height: 20px;
    }

    /* Larger rupee icon on small tablets / large phones */
    .fraud-point:nth-child(2) .fraud-point-icon {
        width: 22px;
        height: 22px;
    }
    
    .fraud-point-title {
        font-size: 15px;
    }
    
    .fraud-point-text {
        font-size: 13px;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .fraud-awareness-banner {
        padding: 24px 16px;
        min-height: calc(100vw / 6.99);
    }
    
    .fraud-awareness-banner::before {
        background-image: url('https://pocketly-public-bucket.s3.ap-south-1.amazonaws.com/9d70927b-d2e4-4bd2-91b3-7fb85e5d41d1.png');
        background-size: cover;
        background-position: center center;
    }
    
    .fraud-heading-text {
        font-size: 18px;
    }
    
    /* Show mobile break on small phones */
    .fraud-mobile-break {
        display: block;
    }
    
    .fraud-shield-icon {
        width: 24px;
        height: 24px;
    }
    
    .fraud-point-icon-wrapper {
        width: 44px;
        height: 44px;
    }
    
    .fraud-point-icon {
        width: 18px;
        height: 18px;
    }

    /* Larger rupee icon on small phones */
    .fraud-point:nth-child(2) .fraud-point-icon {
        width: 20px;
        height: 20px;
    }
    
    .fraud-point-title {
        font-size: 14px;
    }
    
    .fraud-point-text {
        font-size: 12px;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 360px) {
    .fraud-awareness-banner {
        padding: 20px 12px;
    }
    
    .fraud-heading-text {
        font-size: 16px;
    }
    
    /* Show mobile break on extra small phones */
    .fraud-mobile-break {
        display: block;
    }
    
    .fraud-point-title {
        font-size: 11px;
    }
    
    .fraud-point-text {
        font-size: 9px;
    }
}
