/* ========================================= */
/* EXPLORE PAGE CUSTOM STYLES */
/* ========================================= */

/* body {
    overflow-x: hidden;
} */

.search-section {
    /* margin-top: 0 !important; */
    padding-top: 30px !important;
}

.search-boxes {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 35px;
    margin-bottom: 30px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.custom-search-input {
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 15px;
    font-size: 16px;
    border-right: 1px solid #ccc;
    background-color: white;
}

#search-city {
    border-top-right-radius: 35px;
    border-bottom-right-radius: 35px;
}

#search-text {
    border-top-left-radius: 35px;
    border-bottom-left-radius: 35px;
}

/* ========================================= */
/* CREDIT CARDS SECTION - COMPACT VERSION */
/* ========================================= */

.credit-cards-section {
    width: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.credit-cards-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.credit-cards-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cards-section-header {
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cards-section-header h2 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.cards-section-header h2 i {
    font-size: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cards-section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin-left: 26px;
}

.cards-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.carousel-nav-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 12px;
}

.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

.carousel-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cards-carousel-viewport {
    flex: 1;
    overflow: hidden;
    border-radius: 8px;
}

.cards-carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    padding: 6px 3px;
}

.credit-card-item {
    min-width: 160px;
    max-width: 160px;
    background: white;
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.credit-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.card-img-wrapper {
    width: 100%;
    height: 88px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.credit-card-item:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 3px 7px;
    border-radius: 10px;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.4);
}

.card-type-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 7px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-type-badge.crypto {
    background: linear-gradient(135deg, #f7931a, #ffab40);
}

.card-type-badge.credit {
    background: linear-gradient(135deg, #00c853, #69f0ae);
}

.card-content {
    padding: 10px;
}

.card-content h4 {
    font-size: 11px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 28px;
}

.card-bank-info {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.bank-icon {
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 9px;
}

.bank-name {
    font-size: 10px;
    color: #666;
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-benefits {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 9px;
    color: #555;
}

.benefit-item i {
    color: #10b981;
    font-size: 9px;
    width: 12px;
}

.card-action-btn {
    width: 100%;
    padding: 7px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.card-action-btn:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6a4190 100%);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.card-action-btn i {
    font-size: 9px;
    transition: transform 0.3s ease;
}

.credit-card-item:hover .card-action-btn i {
    transform: translateX(2px);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: white;
    width: 16px;
    border-radius: 3px;
}

.cards-view-all {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.cards-view-all a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.cards-view-all a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.cards-view-all a i {
    font-size: 8px;
    transition: transform 0.3s ease;
}

.cards-view-all a:hover i {
    transform: translateX(3px);
}

/* Credit Cards Responsive */
@media (max-width: 992px) {
    .credit-card-item {
        min-width: 150px;
        max-width: 150px;
    }

    .card-img-wrapper {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .credit-cards-section {
        padding: 12px 15px;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .cards-section-header h2 {
        font-size: 14px;
    }

    .cards-section-header p {
        font-size: 10px;
        margin-left: 22px;
    }

    .cards-carousel-container {
        gap: 8px;
    }

    .carousel-nav-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 10px;
    }

    .credit-card-item {
        min-width: 138px;
        max-width: 138px;
    }

    .card-img-wrapper {
        height: 75px;
    }

    .card-content {
        padding: 8px;
    }

    .card-content h4 {
        font-size: 10px;
        min-height: 26px;
    }

    .card-benefits {
        display: none;
    }

    .card-action-btn {
        padding: 6px 8px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .credit-cards-section {
        padding: 10px 12px;
    }

    .cards-section-header h2 {
        font-size: 13px;
        gap: 6px;
    }

    .cards-section-header h2 i {
        font-size: 14px;
    }

    .cards-section-header p {
        display: none;
    }

    .cards-carousel-container {
        gap: 6px;
    }

    .carousel-nav-btn {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 9px;
    }

    .credit-card-item {
        min-width: 125px;
        max-width: 125px;
    }

    .card-img-wrapper {
        height: 68px;
    }

    .card-content {
        padding: 6px;
    }

    .card-content h4 {
        font-size: 9px;
        min-height: 22px;
        margin-bottom: 4px;
    }

    .card-bank-info {
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .bank-icon {
        width: 15px;
        height: 15px;
        font-size: 8px;
    }

    .bank-name {
        font-size: 8px;
    }

    .card-action-btn {
        padding: 5px 6px;
        font-size: 8px;
        border-radius: 4px;
    }

    .carousel-indicators {
        margin-top: 8px;
    }

    .carousel-dot {
        width: 5px;
        height: 5px;
    }

    .carousel-dot.active {
        width: 12px;
    }

    .cards-view-all {
        margin-top: 8px;
    }

    .cards-view-all a {
        font-size: 9px;
        padding: 4px 10px;
    }
}

/* ========================================= */
/* CRYPTO MARKET SECTION - SEPARATE */
/* ========================================= */

.crypto-market-section {
    width: 100%;
}

.crypto-section-header h2 {
    margin-left: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.crypto-view-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.crypto-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.crypto-tab-btn i {
    font-size: 18px;
}

.crypto-tab-btn:hover {
    border-color: #06d6a0;
    color: #06d6a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 214, 160, 0.2);
}

.crypto-tab-btn.active {
    background: linear-gradient(135deg, #06d6a0, #118ab2);
    color: white;
    border-color: #06d6a0;
    box-shadow: 0 4px 15px rgba(6, 214, 160, 0.3);
}

/* CRYPTO VIEWS - SAME SPACE */
.crypto-views-container {
    position: relative;
    height: 450px;
    width: 100%;
}

.crypto-bubbles-wrapper,
.crypto-tile-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    border: 2px solid rgb(0 0 0 / 10%);
    border-radius: 8px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.crypto-bubbles-wrapper {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.crypto-bubbles-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

.crypto-tile-view {
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    overflow-y: auto;
    padding: 15px;
}

.crypto-tile-view.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    grid-auto-rows: minmax(100px, auto);
    gap: 10px;
    grid-auto-flow: dense;
}

canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    cursor: pointer;
}

.bubble-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
    z-index: 5;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bubble-hint i {
    font-size: 16px;
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ddd;
    display: none;
    pointer-events: none;
}

.loading-spinner {
    border: 5px solid rgba(255, 255, 255, 0.12);
    border-top: 5px solid #06d6a0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* TILE STYLES */
.crypto-tile {
    position: relative;
    padding: 15px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.crypto-tile.size-xl {
    grid-column: span 3;
    grid-row: span 3;
    min-height: 200px;
}

.crypto-tile.size-lg {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 150px;
}

.crypto-tile.size-md {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 120px;
}

.crypto-tile.size-sm {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 100px;
}

.crypto-tile.gain {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.crypto-tile.loss {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.crypto-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.crypto-tile-logo {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-tile.size-xl .crypto-tile-logo,
.crypto-tile.size-lg .crypto-tile-logo {
    width: 45px;
    height: 45px;
}

.crypto-tile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crypto-tile-symbol {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
}

.crypto-tile.size-xl .crypto-tile-symbol {
    font-size: 32px;
}

.crypto-tile.size-lg .crypto-tile-symbol {
    font-size: 26px;
}

.crypto-tile-change {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.crypto-tile.size-xl .crypto-tile-change {
    font-size: 22px;
}

.crypto-tile.size-lg .crypto-tile-change {
    font-size: 19px;
}

.crypto-tile-price {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.crypto-tile.size-xl .crypto-tile-price {
    font-size: 17px;
}

.crypto-tile.size-lg .crypto-tile-price {
    font-size: 15px;
}

.crypto-tile-mcap {
    font-size: 11px;
    opacity: 0.8;
}

.crypto-tile.size-xl .crypto-tile-mcap {
    font-size: 14px;
}

.crypto-tile.size-lg .crypto-tile-mcap {
    font-size: 12px;
}

.tile-premium-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px;
    text-align: center;
    color: white;
    z-index: 100;
}

.tile-premium-overlay h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tile-premium-overlay p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.tile-upgrade-btn {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.tile-upgrade-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Google AdSense Popup */
.adsense-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(4px);
}

.adsense-popup-overlay.show {
    display: flex !important;
}

.adsense-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 90%;
    max-height: 90vh;
    overflow: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.4s ease;
}

.adsense-close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: 3px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
}

.adsense-close-btn:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: rotate(90deg) scale(1.1);
}

.adsense-container {
    min-height: 250px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Organization */
/* Section Organization */
.explore-section-padding {
    padding: 20px;
    margin: 0;
}

.section-grey {
    background: #f7f9fc;
}

.section-white {
    background: white;
}

.content-section + .content-section {
    margin-top: 0;
}

/* Card Hover Effects with Zoom */
.product, .agent-item, .category-item, .blog-items {
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
}

.product:hover, .agent-item:hover, .category-item:hover, .blog-items:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Bank Icons Zoom Animation */
.car-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
}

.car-icon:hover {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.car-icon img {
    transition: transform 0.3s ease;
}

.car-icon:hover img {
    transform: scale(1.05);
}

/* Deal Images Zoom */
.deal-img {
    transition: transform 0.3s ease;
}

.product:hover .deal-img {
    transform: scale(1.1);
}

/* Section Headers */
.headings {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.headings h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.text-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #06d6a0, #118ab2);
    margin: 0 auto;
    border-radius: 2px;
}

/* Improved Buttons */
.load-all-btn a,
.widgets-right-link,
.widgets-left-link,
.comparison-btn,
.videos-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.load-all-btn a:hover,
.widgets-right-link:hover,
.widgets-left-link:hover,
.comparison-btn:hover,
.videos-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* User-Friendly Spacing */
.home-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.deals-container,
.aalo,
.kadu {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.featured-products-slider,
.products-slider,
.agents-slider,
.blogs-slider {
    display: flex;
    column-gap: 30px;
    row-gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.hide {
    display: none;
}

/* Mobile Improvements */
@media (max-width: 768px) {
    .crypto-views-container {
        height: 350px;
    }

    .crypto-tab-btn {
        width: 100%;
        justify-content: center;
    }

    .crypto-view-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .adsense-popup-content {
        max-width: 95%;
        padding: 20px;
        margin: 10px;
    }

    .adsense-close-btn {
        top: -8px;
        right: -8px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .bubble-hint {
        font-size: 12px;
        padding: 8px 15px;
    }

    section {
        padding: 30px 15px;
    }

    .headings h2 {
        font-size: 1.5rem;
    }
}

@media only screen and (max-width: 920px) {
    .search-section {
        margin-top: 0 !important;
        padding-top: 20px !important;
    }

    .search-btn {
        position: static;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        max-width: 300px;
    }

    .search-boxes {
        flex-direction: column;
        width: 100%;
        background-color: #fff0;
        row-gap: 3px;
        margin-bottom: 2px;
        border: none;
    }

    .search-container input {
        max-width: 270px;
        border-right: none;
    }

    .custom-search-input {
        width: 270px;
        border-right: none;
        padding-bottom: 10px;
        padding-top: 10px;
    }

    .search-inputs {
        flex-direction: column-reverse;
        align-items: center;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ========================================= */
/* QUICK FILTER PILLS - UPDATED v3.5        */
/* ========================================= */

.quick-filters-section {
    padding: 15px 0 25px;
    background: transparent;
}

.quick-filters-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.quick-filters-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    font-weight: 500;
    text-align: center;
}

.quick-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-pill i {
    font-size: 14px;
}

.filter-pill:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
}

.filter-pill.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* NEW FILTER COLORS - Updated to match allProducts */
.filter-pill.crypto { border-left: 3px solid #f7931a; }
.filter-pill.movies { border-left: 3px solid #ef4444; }
.filter-pill.shopping { border-left: 3px solid #ec4899; }
.filter-pill.travel { border-left: 3px solid #3b82f6; }
.filter-pill.nofee { border-left: 3px solid #8b5cf6; }
.filter-pill.fuel { border-left: 3px solid #f97316; }
.filter-pill.dining { border-left: 3px solid #10b981; }
.filter-pill.rewards { border-left: 3px solid #eab308; }

.filter-pill.active.crypto,
.filter-pill.active.movies,
.filter-pill.active.shopping,
.filter-pill.active.travel,
.filter-pill.active.nofee,
.filter-pill.active.fuel,
.filter-pill.active.dining,
.filter-pill.active.rewards {
    border-left-color: transparent;
}

@media (max-width: 768px) {
    .quick-filters-wrapper {
        gap: 8px;
    }

    .filter-pill {
        padding: 8px 14px;
        font-size: 12px;
    }

    .filter-pill i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .quick-filters-section {
        padding: 10px 0 20px;
    }

    .filter-pill {
        padding: 7px 12px;
        font-size: 11px;
        gap: 4px;
    }
}

/* ========================================= */
/* CRYPTO TOOLTIP STYLES */
/* ========================================= */

.crypto-tooltip {
    position: fixed;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    padding: 0;
    min-width: 280px;
    max-width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}

.crypto-tooltip.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.crypto-tooltip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.crypto-tooltip-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-tooltip-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.crypto-tooltip-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crypto-tooltip-name {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.crypto-tooltip-symbol {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.crypto-tooltip-rank {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.crypto-tooltip-body {
    padding: 14px 16px;
}

.crypto-tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-tooltip-row:last-child {
    border-bottom: none;
}

.crypto-tooltip-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.crypto-tooltip-label span {
    font-size: 14px;
}

.crypto-tooltip-value {
    font-size: 13px;
    font-weight: 600;
    color: white;
    text-align: right;
}

.crypto-tooltip-value.positive {
    color: #10b981;
}

.crypto-tooltip-value.negative {
    color: #ef4444;
}

.crypto-tooltip-section {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.crypto-tooltip-section-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.crypto-tooltip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.crypto-tooltip-grid-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.crypto-tooltip-grid-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.crypto-tooltip-grid-value {
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.crypto-tooltip-footer {
    padding: 10px 16px;
    background: rgba(102, 126, 234, 0.1);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    text-align: center;
}

.crypto-tooltip-cta {
    font-size: 11px;
    color: #667eea;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.crypto-tooltip-cta i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

/* Tile tooltip positioning */
.crypto-tile {
    position: relative;
}

.crypto-tile:hover .tile-tooltip-trigger {
    opacity: 1;
}

.text-transparent {
    color: #00a86b;
}

@media (max-width: 768px) {
    .crypto-tooltip {
        min-width: 260px;
        max-width: 290px;
    }

    .crypto-tooltip-header {
        padding: 12px 14px;
    }

    .crypto-tooltip-logo {
        width: 28px;
        height: 28px;
    }

    .crypto-tooltip-name {
        font-size: 14px;
    }

    .crypto-tooltip-body {
        padding: 12px 14px;
    }

    .crypto-tooltip-row {
        padding: 6px 0;
    }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
    display: flex;
    width: max-content;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Crypto Button Overrides */
.crypto-btn-override {
    background: transparent !important;
    color: #6B7280 !important;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
    border: none !important; /* Ensure no default borders */
}
.crypto-btn-override:hover {
    background-color: #F0FDF4 !important;
    color: #00A86B !important;
    box-shadow: none !important;
}
.crypto-btn-override.active {
    background: linear-gradient(to right, #00A86B, #10B981) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(0, 168, 107, 0.3) !important;
}
/* Override any potential global focus styles */
.crypto-btn-override:focus {
    outline: none !important;
}

/* Custom Buttons */
.custom-view-details-btn {
    background: linear-gradient(to right, #00A86B, #00C87A) !important;
    color: white !important;
    border: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.custom-view-details-btn:hover {
    background: linear-gradient(to right, #009960, #00B070) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 168, 107, 0.25) !important;
}
.custom-hot-badge {
    background: linear-gradient(to right, #EF4444, #DC2626) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    z-index: 50 !important;
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}
.custom-premium-upgrade-btn {
    background: linear-gradient(to right, #00A86B, #00C878) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.custom-premium-upgrade-btn:hover {
    background: linear-gradient(to right, #009960, #00B070) !important;
    color: white !important;
    box-shadow: 0 20px 25px -5px rgba(0, 168, 107, 0.25), 0 10px 10px -5px rgba(0, 168, 107, 0.1) !important;
    transform: scale(1.05) translateY(-1px) !important;
}
.custom-premium-upgrade-btn:active {
    transform: scale(0.98) !important;
}
