/* Best Game of the Week Banner - Exact Copy from Mellstroy */

/* Container - aligned with other sections */
.mobile-feature-banner {
    width: 100%;
    padding: 0 16px; /* Same padding as other sections */
    margin: 16px 0 24px 0;
    box-sizing: border-box;
}

/* Main Banner Card - EXACT from Mellstroy variant-2_root-O6Cih */
.feature-banner-card {
    border-radius: 12px;
    background: linear-gradient(135deg, #7B3FC5 0%, #2E5CFF 100%);
    gap: 4px;
    width: 100%;
    min-height: 160px;
    padding: 14px;
    display: flex;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Decorative Graphics - EXACT positions from Mellstroy */
.feature-banner-bg-frame {
    /* graphics-v2_cardBg-azGRR */
    z-index: 4;
    bottom: 12px;
    width: 75px;
    position: absolute;
    right: 8px;
}

.feature-banner-bg-podium {
    /* graphics-v2_podium-azGRR */
    z-index: 3;
    bottom: 0;
    width: 110px;
    position: absolute;
    right: -10px;
}

.feature-banner-bg-main {
    /* graphics-v2_background-azGRR */
    z-index: 1;
    bottom: 0;
    object-fit: cover;
    height: 100%;
    position: absolute;
    right: 0;
}

.feature-banner-bg-content {
    /* graphics-v2_imgContent-azGRR */
    z-index: 2;
    width: 100%;
    height: calc(100% + 32px);
    bottom: 0;
    object-fit: cover;
    position: absolute;
    right: 0;
}

/* Content Area - EXACT from Mellstroy variant-2_content-O6Cih */
.feature-banner-content {
    z-index: 5;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    display: flex;
    position: relative;
}

/* Title Content - EXACT from Mellstroy variant-2_titleContent-O6Cih */
.feature-banner-title-content {
    gap: 6px;
    flex-direction: column;
    flex-grow: 1;
    display: flex;
}

/* Title - EXACT from Mellstroy variant-2_title-O6Cih */
.feature-banner-title {
    max-width: 110px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-wrap: balance;
    margin: 0;
}

/* Provider - EXACT from Mellstroy variant-2_provider-O6Cih */
.feature-banner-provider {
    color: #FFFFFF;
    cursor: pointer;
    align-items: center;
    gap: 4px;
    display: inline-flex;
    font-size: 11px;
}

.feature-banner-provider-icon {
    width: auto;
    height: 14px;
    display: inline-block;
}

.feature-banner-provider-icon img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    filter: brightness(0) invert(1);
}

.feature-banner-provider-name {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}

.feature-banner-provider svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
}

/* Button */
.feature-banner-button {
    z-index: 5;
    align-self: flex-start;
    background: #FFFFFF;
    color: #6B2FB5;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 6px;
}

.feature-banner-button:hover {
    opacity: 0.9;
}

.feature-banner-button:active {
    opacity: 0.7;
}

/* Game Card - EXACT from Mellstroy variant-2_card-O6Cih */
.feature-banner-game-card {
    z-index: 4;
    bottom: 16px;
    width: 100%;
    max-width: 68px;
    position: absolute;
    right: 12px;
    text-decoration: none;
}

/* Game Card Body - EXACT from Mellstroy game-card_body-al9vQ */
.feature-banner-game-card-body {
    padding-bottom: 133.33%; /* aspect ratio 3:4 */
    position: relative;
}

/* Picture Wrapper - EXACT from Mellstroy game-card_pictureWrapper-al9vQ */
.feature-banner-game-card-picture-wrapper {
    border-radius: 10px;
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Placeholder - EXACT from Mellstroy game-card_placeholder-al9vQ */
.feature-banner-game-card-placeholder {
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    inset: 0;
}

/* Picture - EXACT from Mellstroy game-card_picture-al9vQ */
.feature-banner-game-card-picture {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

/* Image - EXACT from Mellstroy game-card_image-al9vQ */
.feature-banner-game-card-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.1s linear;
    transform: scale(1.01);
    display: block;
}

/* Responsive - Desktop */
@media (min-width: 768px) {
    .mobile-feature-banner {
        padding: 0 20px; /* Match .mobile-section desktop padding */
    }
    
    .feature-banner-card {
        min-height: 240px;
        padding: 32px;
    }
    
    .feature-banner-title {
        font-size: 28px;
        max-width: 220px;
    }
    
    .feature-banner-game-card {
        max-width: 120px;
        right: 32px;
    }
    
    .feature-banner-bg-frame {
        width: 130px;
        right: 25px;
    }
    
    .feature-banner-bg-podium {
        width: 190px;
    }
}
