 /* Crypto Features Section Styles - Bootstrap Based */
/* Making a difference for millions around the world */

/* Main Section */
.crypto-features-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0 80px 0;
    position: relative;
    overflow: hidden;
}
.crypto-features-section .container {
    max-width: 90%;
}

.crypto-features-section .container .crypto-header {
    max-width: 100%;
}

/* Background SVG - inside floating container */
.crypto-bg-svg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 1.17;
}

.crypto-bg-svg img,
.crypto-bg-image {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    opacity: 1;
    display: block;
}

/* Header Section */
.crypto-header {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.crypto-main-title {
    font-family: 'Gilroy-semibold' !important;
    font-weight: 500;
    font-size: 45px;
    line-height: 46.6px;
    color: #3F405B;
    margin-bottom: 10px !important;
    /* max-width: 800px; */
    margin-left: auto;
    margin-right: auto;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 991.98px) {
    .crypto-main-title {
        font-size: 40px !important;
        line-height: 48px !important;
    }
}

@media (max-width: 767.98px) {
    .crypto-main-title {
        font-size: 36px !important;
        line-height: 40px !important;
    }
}

@media (max-width: 575.98px) {
    .crypto-main-title {
        font-size: 32px !important;
        line-height: 36px !important;
        padding: 0 15px;
    }
}

@media (max-width: 320px) {
    .crypto-main-title {
        font-size: 28px !important;
        line-height: 32px !important;
        padding: 0 10px;
    }
}

.crypto-main-subtitle {
    font-family: 'Gilroy-light', sans-serif !important;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    color: #6c757d;
    line-height: 26.5px;
    max-width: 662px;
    margin: 0 auto;
}

@media (max-width: 991.98px) {
    .crypto-main-subtitle {
        font-size: 18px !important;
    }
}

@media (max-width: 767.98px) {
    .crypto-main-subtitle {
        font-size: 16px !important;
        padding: 0 20px;
    }
}

@media (max-width: 320px) {
    .crypto-main-subtitle {
        font-size: 14px !important;
        padding: 0 10px;
    }
}

.text-yellow-bright {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
    }
    to {
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    }
}

/* Floating Container with Background */
.crypto-floating-container {
    position: relative;
    min-height: 650px;
    z-index: 5;
    margin-top: 2rem;
}

/* Removed ::before pseudo-element - now using HTML img element */

@media (min-width: 1200px) {
    .crypto-floating-container {
        min-height: 800px;
    }
}

/* Float Elements - Above everything including word.svg */
.crypto-float-element {
    z-index: 10; /* High z-index to be above word.svg */
}

/* Floating Avatars - Highest layer */
.crypto-floating-avatar {
    z-index: 12; /* Highest layer to be on top of everything */
}

.crypto-sending-money {
    left: 10px !important;
    top: 105px !important;
    z-index: 10 !important;
}

@media (min-width: 1024px) {
    .crypto-sending-money {
        left: 15% !important;
        top: 80px !important;
    }
}

@media (min-width: 1200px) {
    .crypto-sending-money {
        left: 18% !important;
        top: 100px !important;
    }
}

.crypto-money-received {
    right: 20px !important;
    top: 40px !important;
    z-index: 10 !important;
}

@media (min-width: 1024px) {
    .crypto-money-received {
        right: 15% !important;
        top: 60px !important;
    }
}

@media (min-width: 1200px) {
    .crypto-money-received {
        right: 18% !important;
        top: 80px !important;
    }
}

/* Message Cards */
.crypto-message-card {
    background: white;
    border: 1px solid #f3f3f3;
    box-shadow: 0px 17px 30px -9px rgba(57, 47, 107, 0.2);
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    white-space: nowrap;
}

.crypto-message-card.bg-primary {
    background: #635bfe !important;
    border-color: #635bfe;
    box-shadow: 0px 17px 30px -9px rgba(99, 91, 254, 0.4);
}

.crypto-message-text {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* User Placeholders */
.crypto-user-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 0;
    box-shadow: none;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

@media (min-width: 768px) {
    .crypto-user-placeholder {
        width: 100px;
        height: 100px;
        border: 0;
    }
}

@media (min-width: 1024px) {
    .crypto-user-placeholder {
        width: 120px;
        height: 120px;
        border: 0;
    }
}

@media (min-width: 1200px) {
    .crypto-user-placeholder {
        width: 140px;
        height: 140px;
        border: 0;
    }
}

/* Specific User Placeholders - Using img tags now */
.crypto-user-placeholder img,
.crypto-avatar-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.crypto-flag-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}





/* Review Card - Bottom left of the world map */
.crypto-review-card {
    left: 1% !important;
    bottom: 80px !important;
    width: 300px !important;
    background: white;
    border: 1px solid #f3f3f3;
    box-shadow: 0px 20px 60px -14px rgba(57, 47, 107, 0.2);
    z-index: 8 !important;
}

@media (min-width: 1200px) {
    .crypto-review-card {
        /* left: 10% !important; */
        bottom: 100px !important;
        width: 320px !important;
    }
}

.crypto-review-content {
    position: relative;
}

.crypto-flag-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.crypto-star-rating {
    gap: 0.125rem;
}

.crypto-user-location {
    font-size: 0.875rem;
    font-weight: 500;
}

.text-gray {
    color: #6b7280;
}

.crypto-review-text {
    font-size: 0.6875rem; /* 11px */
    color: #3F405B;
    line-height: 1.4;
}

.crypto-reviewer-avatar {
    position: absolute;
    right: -5rem;
    bottom: -0.5rem;
}

@media (min-width: 1200px) {
    .crypto-reviewer-avatar {
        right: -7.5rem;
        bottom: -0.75rem;
    }
}


.crypto-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 0;
    box-shadow: none;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

@media (min-width: 1200px) {
    .crypto-avatar-placeholder {
        width: 120px;
        height: 120px;
        border: 0;
    }
}

/* Avatar placeholder styles handled by img tags */

/* Floating Avatars - Highest layer */
.crypto-floating-avatar {
    z-index: 12; /* Highest layer to be on top of everything */
}

.crypto-avatar-center {
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 60px !important;
    z-index: 12 !important;
}

@media (min-width: 1200px) {
    .crypto-avatar-center {
        top: 220px !important;
    }
}

.crypto-avatar-right {
    right: 8% !important;
    top: 280px !important;
    z-index: 12 !important;
}

@media (min-width: 1200px) {
    .crypto-avatar-right {
        right: 20% !important;
        top: 320px !important;
    }
}

.crypto-avatar-right-bottom {
    right: 8% !important;
    bottom: 100px !important;
    z-index: 12 !important;
}

@media (min-width: 1200px) {
    .crypto-avatar-right-bottom {
        right: 10% !important;
        bottom: 120px !important;
    }
}

/* Central Device - Lower part of the world map */
.crypto-central-device {
    position: absolute !important;
    bottom: 10px !important;
    left: 60% !important;
    transform: translateX(-50%) !important;
    z-index: 6 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

@media (min-width: 1200px) {
    .crypto-central-device {
    top: 300px;
    scale: 1.5;
    }
}

.crypto-device-placeholder {
    width: auto;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1024px) {
    .crypto-device-placeholder {
        height: 450px;
    }
}

@media (min-width: 1200px) {
    .crypto-device-placeholder {
        height: 500px;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1199px) {
    .crypto-features-section {
            min-height: 100vh;
        }
}

/* Responsive Design */
@media (max-width: 1023px) {
    .crypto-features-section {
        padding: 3rem 0;
        min-height: 60vh;
    }
    
    .crypto-floating-container {
        min-height: 500px;
    }
    
    .crypto-sending-money,
    .crypto-money-received {
        position: relative;
        margin-bottom: 2rem;
        justify-content: center;
    }
    
    .crypto-central-device {
        margin-top: 2rem;
    }
    
    .crypto-review-card {
        position: relative;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 318px;
        margin: 2rem auto;
    }
}

@media (max-width: 767px) {
    .crypto-features-section {
        padding: 2rem 0;
    }
    
    .crypto-main-title {
        padding: 0 1rem;
    }
    
    .crypto-main-subtitle {
        padding: 0 1rem;
    }
    
    .crypto-message-card {
        padding: 0.5rem 1rem;
    }
    
    .crypto-user-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .crypto-device-placeholder {
        height: 300px;
    }
    .crypto-features-section {
        min-height: 85vh;
    }
    
    /* Hide some avatars on mobile for cleaner look */
    .crypto-avatar-right,
    .crypto-avatar-right-bottom,
    .crypto-avatar-center {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .crypto-main-title {
        font-size: 1.75rem;
        line-height: 2rem;
    }
    
    .crypto-main-subtitle {
        font-size: 0.875rem;
    }
    
    .crypto-review-card {
        width: 100%;
        margin: 1rem auto;
    }
    
    .crypto-device-placeholder {
        height: 250px;
        scale: 0.8;
    }
    .crypto-features-section {
        min-height: 90vh;
    }
}

@media (max-width: 430px) {
    .container.position-relative{
       padding: 20px 2px; 
    }
    .crypto-main-title {
        font-size: 22px !important;
        line-height: 2rem !important;
    }
    
    .crypto-main-subtitle {
        font-size: 15px !important;
    }
    
    .crypto-review-card {
        width: 100%;
        margin: 1rem auto;
    }
    
    .crypto-device-placeholder {
        height: 250px;
        scale: 0.8;
    }
    .crypto-features-section {
        min-height: 92vh;
    }
}

/* Dark Theme Support */
body.dark .crypto-features-section {
    background: linear-gradient(180deg, #3F405B 0%, #111827 100%);
}

body.dark .crypto-main-title {
    color: #f9fafb;
}

body.dark .crypto-main-subtitle {
    color: #d1d5db;
}

body.dark .crypto-message-card {
    background: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}

body.dark .crypto-review-card {
    background: #374151;
    border-color: #4b5563;
}

body.dark .crypto-review-text {
    color: #f9fafb;
}

body.dark .text-gray {
    color: #d1d5db;
}