﻿/* Auto-generated CSS file for Home views */
/* Generated on: 2025-08-05 11:18:37 */
/* Project: Member */

/* From: Games.cshtml */
/* Bottom section styling for equal height */
.games-bottom-section {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    /* gap: 10px; */
    margin-left: 0.5rem;
    /* margin-right: 0.5rem; */
}

    /* Reduce padding when ambassador section exists */
    .games-bottom-section.has-ambassador {
        padding-bottom: 1.5rem;
    }

/* Product types sidebar styling */
.product-types {
    position: relative;
    z-index: 2;
}

.product-types {
    width: 65px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 4px;
    margin-bottom: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .product-types .product-name {
        font-size: 10px !important;
        text-align: center;
        line-height: 1.1;
    }

/* Add styles for active product type */
/* .product-card {
border: 0.3rem solid #000;
cursor: pointer;
transition: all 0.3s ease;
background-color: #000;
}

.product-card:hover {
color: white;
border: 0.3rem solid var(--primary-color);
}

.product-card.active {
color: white;
border: 0.3rem solid var(--primary-color);
    } */

/* Provider grid layout - 2 columns */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px; /* Set a fixed max height */
    /* height: 100%; */
}

/* Provider grid container */
.provider-grid-container {
    height: calc(100vh - 300px); /* Adjust based on your header/banner height */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Scrollbar styling for provider grid - Hidden */
.provider-grid::-webkit-scrollbar {
    width: 0px;
    display: none;
}

.provider-grid::-webkit-scrollbar-track {
    display: none;
}

.provider-grid::-webkit-scrollbar-thumb {
    display: none;
}

    .provider-grid::-webkit-scrollbar-thumb:hover {
        display: none;
    }

/* Hide scrollbar for Firefox */
.provider-grid {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Smooth scrolling */
.provider-grid {
    scroll-behavior: smooth;
}

/* Provider card styling - rectangular */
.provider-card {
    position: relative;
    /*background-color: white;*/
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100px;
    overflow: hidden;
    display: block;
}

    .provider-card:hover {
        /*background-color: var(--primary-color);*/
        transform: translateY(-3px);
    }

.provider-logo {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .provider-logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Search bar styling */
.search-bar {
    position: relative;
    margin-bottom: 0.8rem;
}

    .search-bar input {
        width: 100%;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid #747474;
        border-radius: 8px;
        padding: 0 15px 0 40px;
        color: #747474;
        outline: none;
    }

    /* .search-bar input::placeholder {
color: rgba(255, 255, 255, 0.5);
    } */

    .search-bar svg {
        position: absolute;
        left: 12px;
        top: 12px;
    }

/* Animation for provider cards */
.provider-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

    .provider-card.hidden {
        opacity: 0;
        transform: scale(0.8);
        display: none;
    }

.search-hidden {
    display: none !important;
}

/* Games grid layout - matching ProviderGames */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 6px; /* Reduced gap between game cards */
}

/* Game card styling for hot games - matching ProviderGames layout */
.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none !important;
    margin-bottom: 0.5rem; /* Add space for the title below */
}

    .game-card:hover {
        box-shadow: none !important;
    }

.game-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Game title styling - moved below the card */
.game-title {
    font-size: 12px;
    font-weight: 300; /* Thinner */
    color: #000;
    margin-top: 4px;
    padding: 0;
    line-height: 1.2;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card:hover .hot-game-indicator svg {
    transform: rotate(0);
    transition: transform 0.3s ease;
}
/* Hot game indicator */
.hot-game-indicator {
    position: absolute;
    top: 0px;
    right: -20px;
    width: 60px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    .hot-game-indicator svg {
        width: 14px;
        height: 14px;
        object-fit: contain;
        position: absolute;
        top: 18%;
        left: 38%;
        transform: rotate(-45deg); /* Center and counter-rotate */
    }

.no-games-found {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px;
    font-size: 14px;
}

/* Announcement Popup Modal Styles */
.announcement-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.announcement-container {
    background-color: var(--secondary-color) !important;
}

.announcement-modal-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    margin: 5% auto;
    padding: 0;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    color: #333;
    z-index:99999;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.announcement-modal-header {
    padding: 5px 15px 10px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px 12px 0 0;
}

.announcement-modal-title {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

    .announcement-modal-title i {
        margin-right: 12px;
        font-size: 22px;
        color: #ffd700;
    }

.announcement-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: bold;
}

    .announcement-modal-close:hover {
        background-color: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.announcement-modal-body {
    padding: 25px 30px;
    color: #444;
    line-height: 1.7;
    max-height: 400px;
    overflow-y: auto;
    font-size: 15px;
}

    .announcement-modal-body h4 {
        color: #2c3e50;
        margin-bottom: 18px;
        font-size: 18px;
        font-weight: 600;
        border-left: 4px solid #667eea;
        padding-left: 15px;
    }

.announcement-modal-footer {
    padding: 5px 15px 10px;
    border-top: 2px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 0 0 12px 12px;
}

.dont-show-again {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .dont-show-again:hover {
        color: #333;
    }

    .dont-show-again input[type="checkbox"] {
        margin-right: 10px;
        transform: scale(1.2);
        accent-color: #667eea;
        cursor: pointer;
    }

.modal-close-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

    .modal-close-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    }

/* Responsive */
@media (max-width: 768px) {
    .announcement-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Member Balance Display Styles */
.member-balance-display {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    border: none;
    margin-bottom: 0.5rem;
    /* border-radius: 8px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.balance-container {
    padding: 0.5rem 0.5rem;
}

.balance-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.balance-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.balance-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.balance-amount {
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 700;
}

.rebate-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

    .rebate-link:hover {
        transform: translateY(-2px);
    }

.rebate-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    min-width: 60px;
}

.rebate-link:hover .rebate-icon-container {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.rebate-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.rebate-link:hover .rebate-icon {
    animation: bounce 0.6s infinite;
}

.rebate-text {
    color: #000;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Providers sidebar container */
.providers-sidebar-container {
    flex: 0 0 80px; /* Fixed width of 80px */
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    height: 70vh; /* Fixed height to enable scrolling */
    padding-right: 5px; /* Add some padding for the scrollbar */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
    padding-bottom: 2rem;
}

    /* Scrollbar styling for Webkit browsers */
    .providers-sidebar-container::-webkit-scrollbar {
        width: 4px;
    }

    .providers-sidebar-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .providers-sidebar-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

.product-type-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.providers-sidebar-container .provider-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}


.providers-sidebar-container .product-name {
    color: var(--primary-color);
    font-size: 10px;
    text-align: center;
    line-height: 1.1;
    margin-top: 2px;
}

/* Games grid container */
.games-grid-container {
    flex: 1; /* Take the remaining space */
    overflow-y: auto;
    height: 70vh; /* Match the height of the sidebar */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
}

    /* Scrollbar styling for games container */
    .games-grid-container::-webkit-scrollbar {
        width: 4px;
    }

    .games-grid-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .games-grid-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

.disabled-product-type {
    pointer-events: none !important;
    opacity: 0.5 !important;
}

/* From: ProviderGames.cshtml */
/* Page header with provider logo */
.provider-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.provider-header-logo {
    width: 100px;
    height: 60px;
    margin-right: 20px;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
}

    .provider-header-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.provider-header-info h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.provider-header-info p {
    margin: 5px 0 0;
    font-size: 14px;
    opacity: 0.7;
}

/* Back button */
.back-button {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 20px;
    text-decoration: none;
}

    .back-button i {
        margin-right: 5px;
    }

    .back-button:hover {
        text-decoration: underline;
    }

/* Product Types horizontal scrolling bar */
.product-types-scroll {
    position: relative;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 10px;
    margin-bottom: 0.5rem;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    /* margin-left: 0.5rem;
margin-right: 0.5rem; */
    cursor: grab;
    user-select: none;
    background-color: #000;
}

    .product-types-scroll:active {
        cursor: grabbing;
    }

    .product-types-scroll::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

    .product-types-scroll .product-card {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        /* padding: 8px 16px; */
        margin-right: 10px;
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #000;
        color: var(--primary-color);
        padding: 0.1rem 0.3rem 0.1rem 0.3rem;
        flex-shrink: 0; /* Prevent shrinking */
        min-width: fit-content; /* Ensure minimum width based on content */
    }

    .product-types-scroll.dragging .product-card {
        pointer-events: none;
    }

    .product-types-scroll:not(.dragging) .product-card {
        pointer-events: auto;
    }

    .product-types-scroll .product-card:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .product-types-scroll .product-card.active {
        background-color: var(--primary-color);
        color: var(--secondary-color) !important;
    }

        /* Override SVG colors for active state */
        .product-types-scroll .product-card.active svg path {
            fill: var(--secondary-color) !important;
        }

    /* Override SVG colors for hover state */
    .product-types-scroll .product-card:hover svg path {
        fill: var(--primary-color) !important;
    }

    /* Specific overrides for different SVG icons */
    .product-types-scroll .product-card.active .hot-games-icon path {
        fill: var(--secondary-color) !important;
    }

    .product-types-scroll .product-card:hover .hot-games-icon path {
        fill: var(--primary-color) !important;
    }

    /* For slot icon */
    .product-types-scroll .product-card.active svg .cls-1,
    .product-types-scroll .product-card.active svg .cls-2 {
        fill: var(--secondary-color) !important;
    }

    .product-types-scroll .product-card:hover svg .cls-1,
    .product-types-scroll .product-card:hover svg .cls-2 {
        fill: var(--primary-color) !important;
    }

    /* CSS Custom Properties approach for better control */
    .product-types-scroll .product-card {
        --svg-fill-primary: currentColor;
        --svg-fill-secondary: currentColor;
    }

        .product-types-scroll .product-card.active {
            --svg-fill-primary: var(--secondary-color);
            --svg-fill-secondary: var(--secondary-color);
        }

        .product-types-scroll .product-card:hover {
            --svg-fill-primary: var(--primary-color);
            --svg-fill-secondary: var(--primary-color);
        }

    .product-types-scroll .product-icon {
        font-size: 16px !important;
        margin-right: 5px;
        height: 1.2rem;
        flex-shrink: 0;
    }

    .product-types-scroll .product-name {
        font-size: 13px;
    }

/* Bottom section styling for flexbox layout */
.games-bottom-section {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    /* gap: 10px; */
    margin-left: 0.5rem;
    /* margin-right: 0.5rem; */
    /*padding-bottom: 65px;*/
}

/* Providers sidebar container */
.providers-sidebar-container {
    flex: 0 0 80px; /* Fixed width of 80px */
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    height: 70vh; /* Fixed height to enable scrolling */
    padding-right: 5px; /* Add some padding for the scrollbar */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
    padding-bottom: 2rem;
}

    /* Scrollbar styling for Webkit browsers */
    .providers-sidebar-container::-webkit-scrollbar {
        width: 4px;
    }

    .providers-sidebar-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .providers-sidebar-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

    .providers-sidebar-container .provider-card-small {
        border: 0.1rem solid #000;
        width: 100%;
        height: 60px;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        padding: 5px;
        border-radius: var(--border-radius);
        background-color: #000;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .providers-sidebar-container .provider-card-small:hover {
            /* background-color: rgba(255, 255, 255, 0.1); */
            border: 0.1rem solid var(--primary-color);
        }

        .providers-sidebar-container .provider-card-small.active {
            /* background-color: var(--primary-color); */
            color: white;
            border: 0.1rem solid var(--primary-color);
        }

.product-type-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.providers-sidebar-container .provider-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .providers-sidebar-container .provider-logo-small img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

/* Games grid container */
.games-grid-container {
    flex: 1; /* Take the remaining space */
    overflow-y: auto;
    height: 70vh; /* Match the height of the sidebar */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent; /* Firefox */
}

    /* Scrollbar styling for games container */
    .games-grid-container::-webkit-scrollbar {
        width: 4px;
    }

    .games-grid-container::-webkit-scrollbar-track {
        background: transparent;
    }

    .games-grid-container::-webkit-scrollbar-thumb {
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 4px;
    }

/* Games grid layout */
.games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(80px, 1fr));
    gap: 6px; /* Reduced gap between game cards */
}

/* Game card and image styling */
.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none !important;
    margin-bottom: 0.5rem; /* Add space for the title below */
}

    .game-card:hover {
        box-shadow: none !important;
    }

.game-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Hot game indicator */
.hot-game-indicator {
    position: absolute;
    top: 0px;
    right: -20px;
    width: 60px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    .hot-game-indicator svg {
        width: 14px;
        height: 14px;
        object-fit: contain;
        transform: rotate(-45deg); /* Counter-rotate the image to keep it upright */
        position: absolute;
        top: 18%;
        left: 38%;
        transform: rotate(-45deg); /* Center and counter-rotate */
    }

.game-title {
    font-size: 12px;
    font-weight: 300; /* Thinner */
    color: #000;
    margin-top: 4px;
    padding: 0;
    line-height: 1.2;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Search bar styling */
.search-bar {
    position: relative;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

    .search-bar input {
        width: 100%;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid #747474;
        border-radius: var(--border-radius);
        padding: 0 15px 0 40px;
        color: #747474;
        outline: none;
    }

    .search-bar svg {
        position: absolute;
        left: 12px;
        top: 12px;
    }

/* Animation for game cards */
.game-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

    .game-card.hidden {
        opacity: 0;
        transform: scale(0.8);
        display: none;
    }

.search-hidden {
    display: none !important;
}

/* Loading indicator styles */
.loading-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
}

    .loading-indicator.hidden {
        display: none;
    }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.no-more-games {
    text-align: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.no-games-found {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.hidden-product-type {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hidden-provider {
    display: none !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.reward-center-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 6px 32px 0 rgba(60,60,60,0.10), 0 1.5px 6px 0 rgba(60,60,60,0.06);
    border: none;
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.reward-list-group {
    background: transparent;
    border: none;
    margin-bottom: 88px;
}


.reward-list-item {
    background: var(--b-g-color);
    border-radius: 16px;
    box-shadow: 0 2px 12px 0 rgba(60,60,60,0.07);
    border: 1px solid transparent;
    padding: 0.5rem 0.5rem;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    align-items: center;
}

    .reward-list-item:not(:last-child) {
        margin-bottom: 1.2rem;
    }

.reward-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 1px 4px 0 rgba(60,60,60,0.08);
    object-fit: contain;
    border: 1px solid #f0f0f0;
}

.reward-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary-color, #222);
    letter-spacing: 0.5px;
}

.reward-claim-btn {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 24px;
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
    box-shadow: 0 2px 8px 0 rgba(255,179,71,0.13);
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.07);
}

    .reward-claim-btn:hover, .reward-claim-btn:focus {
        background-color: color-mix(in srgb, var(--primary-color, #0272FF) 80%, black) !important;
        color: #fff;
        box-shadow: 0 4px 16px 0 rgba(255,179,71,0.22);
        text-decoration: none;
    }

.reward-link {
    text-decoration: none;
    display: block;
}

.reward-list-item {
    cursor: pointer;
    position: relative;
}

.reward-link:focus .reward-list-item {
    box-shadow: 0 8px 28px 0 rgba(60,60,60,0.16);
    transform: translateY(-2px) scale(1.015);
    border-color: var(--primary-color);
}

.reward-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #007bff);
}

.reward-claim-arrow {
    font-size: 2rem;
    color: #ff9800;
    font-weight: bold;
    margin-left: 10px;
    transition: color 0.2s, transform 0.2s;
    align-self: center;
}

.reward-link:hover .reward-claim-arrow, .reward-link:focus .reward-claim-arrow {
    color: #ffb347;
    transform: translateX(6px) scale(1.1);
}

/* Coin heartbeat animation */
.coin-heartbeat {
    pointer-events: none;
    position: absolute;
    right: -25px;
    top: -25px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .coin-heartbeat.show {
        opacity: 1;
    }

.coin-heartbeat__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid #ffd700;
    border-radius: 50%;
    animation: coinHeartbeatRing 2s ease-in-out infinite;
}

.coin-heartbeat__image {
    transform: translate(-50%, -50%) scale(1);
    position: relative;
    z-index: 1;
    animation: coinHeartbeatImage 2s ease-in-out infinite;
}

@keyframes coinHeartbeatRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.3;
    }
}

@keyframes coinHeartbeatImage {
    0%, 100% {
        transform: scale(0.3);
    }

    25% {
        transform: scale(0.4);
    }

    50% {
        transform: scale(0.3);
    }

    75% {
        transform: scale(0.35);
    }
}

@media (max-width: 600px) {
}

.btn-depo {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-left: 8px;
    position: relative;
    overflow: hidden;
    padding-right: 0px;
}

    .btn-depo::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .btn-depo:hover::before {
        opacity: 1;
    }

    .btn-depo i {
        animation: pulse-glow 2s ease-in-out infinite;
    }

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 25px rgba(255, 255, 255, 0.4);
    }
}

.btn-depo:hover {
    background: var(--primary-color);
    color: #FFF;
}

.btn-whatsapp {
    background-color: #36E456 !important;
}

/* Quick action CTA buttons (Deposit/Withdraw) */
.quick-action-btn {
    min-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Ambassador Promo Section Styles */
.ambassador-promo-section {
    flex-direction: column;
    margin: 15px;
    margin-bottom: 95px;
    background-color: var(--b-g-color) !important;
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 7px;
}

.ambassador-promo-header {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

.ambassador-promo-title {
    font-weight: 600;
    color: var(--text-primary-color) !important;
    text-align: center;
    font-size: 1.4rem;
}

.ambassador-learn-more {
    border: 1px solid var(--primary-color);
    color: var(--text-primary-color);
    padding: 5px 8px;
    font-size: 12px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.ambassador-learn-more:hover {
    background-color: var(--primary-color);
    color: var(--text-primary-color);
    text-decoration: none;
}

.ambassador-learn-more-container {
    display: flex;
    justify-content: center;
}

.ambassador-video-container {
    margin-bottom: 1rem;
}

    .ambassador-video-container iframe {
        width: 100%;
        max-width: 560px;
        height: 210px;
        border-radius: 8px;
    }

.youtube-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

    .youtube-container iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%);
        border: none;
    }

.ambassador-video-container img {
    width: 100%;
    max-width: 560px;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
}

.ambassador-content-row {
    /* Switch to float layout so text wraps beside image then continues below */
    display: block;
}

    .ambassador-content-row::after {
        content: "";
        display: block;
        clear: both; /* clearfix for floated avatar */
    }

    .ambassador-content-row.ambassador-full-width {
        /* When no image, remove floats to allow full-width text */
    }

        .ambassador-content-row.ambassador-full-width .ambassador-text-col {
            width: 100%;
        }

.ambassador-image-col {
    float: left;
    margin-right: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

    .ambassador-image-col img {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

.ambassador-text-col {
    display: block;
    padding: 0;
    min-width: 0;
}

.ambassador-content-row.ambassador-full-width .ambassador-image-col {
    float: none;
    margin-right: 0;
}

/* Dynamic layout adjustments */
.ambassador-content-row:has(.ambassador-image-col:only-child) {
    justify-content: center;
}

.ambassador-content-row:has(.ambassador-text-col:only-child) {
    justify-content: center;
}

.ambassador-text-col:only-child {
    flex: none;
    max-width: 600px;
    text-align: center;
}

.ambassador-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.ambassador-title-blue {
    color: #00aeef;
}

.ambassador-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    margin-bottom: 0; /* ensure no bottom gap */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Responsive design for ambassador section */
@media (max-width: 768px) {
    .ambassador-image-col {
        float: left;
        margin-right: 0.5rem;
    }

    .ambassador-video-container iframe {
        height: 180px;
    }
}

.theme-light .color-theme {
    color: var(--text-primary-color) !important;
}

.btn-cancel {
    background-color: var(--text-secondary-color) !important;
    color: var(--text-primary-color);
}

    .btn-cancel:hover {
        background-color: var(--text-secondary-color) !important;
        color: var(--text-primary-color);
    }
