/**
 * admin api biggopti style start
 */

 [id^="bdt-admin-biggopti-api-biggopti-"] {
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
    background-color: #fff;

    .bdt-admin-api-biggopti-dismiss {
        position: absolute;
        top: 2px;
        right: 8px;
        cursor: pointer;
        background: transparent;
        border: none;
    }

    .bdt-plugin-logo-wrapper {
        img {
            vertical-align: middle;
            width: clamp(25px, 3vw, 40px);
            height: auto;
            animation: logoSlideIn 0.6s ease-out 0.3s both;
            transition: transform 0.3s ease;
        }
        &:hover img {
            transform: scale(1.1) rotate(5deg);
        }
    }

    /* Biggopti wrapper entrance animation */
    @keyframes wrapperSlideInTop {
        0% {
            opacity: 0;
             /* transform: translate3d(0, -15px, 0); */
        }
        100% {
            opacity: 1;
             /* transform: translate3d(0, 0, 0); */
        }
    }

    /* Logo entrance animation */
    @keyframes logoSlideIn {
        0% {
            opacity: 0;
            transform: scale(0.5) rotate(-10deg);
        }
        100% {
            opacity: 1;
            transform: scale(1) rotate(0deg);
        }
    }

    .bdt-biggopti-wrapper {
        align-items: center;
         /* height: 80px; */
        background-color: #000;
        padding: 0 clamp(10px, 3vw, 50px) 0 clamp(10px, 2vw, 30px);
        animation: wrapperSlideInTop 1s ease-out both;
        will-change: transform, opacity;
        transform: translateZ(0);
        animation-fill-mode: both;
        position: relative;
        overflow: hidden;
        margin: 0;
         /* 10min-height: 80px; */
    }
    .has-background-image {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .bdt-api-biggopti-content {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 100px;
    }

    .bdt-biggopti-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
        margin-left: clamp(10px, 2vw, 40px);
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    .bdt-biggopti-content-right,
    .bdt-biggopti-content-inner {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .bdt-biggopti-title-description {
         /* max-width: 450px; */
    }
    
    .bdt-biggopti-logo-wrapper {
         /* width: 10%; */
        animation: biggoptiLogoSlideIn 0.7s ease-out 0.35s both;
        img {
            width: clamp(50px, 5vw, 100px);
            height: auto;
            transition: transform 0.3s ease;
        }
        &:hover img {
            transform: scale(1.05);
        }
    }
    
    .bdt-biggopti-title-description {
         /* width: 40%; */
        .bdt-biggopti-title {
            color: #fff;
            margin: 0;
            font-size: clamp(12px, 1.5vw, 22px);
            font-weight: 700;
            animation: titleSlideIn 0.8s ease-out 0.4s both;
            transform-origin: left center;
            text-shadow: 2px 2px 2px #000000;
            line-height: 1.2;
        }
    }

    .bdt-biggopti-html-content {
        color: #ffffff;
        text-shadow: 2px 2px 2px #000000;
        animation: titleSlideIn 0.8s ease-out 0.4s both;
        line-height: 1.2;
    }

    .bdt-admin-api-biggopti-dismiss:before {
        color: #ffffff91;
    }

    /* Title entrance animation */
    @keyframes titleSlideIn {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .bdt-biggopti-countdown {
        height: 100%;
        animation: countdownSlideIn 0.8s ease-out 0.5s both;
        .countdown-timer {
            display: flex;
            align-items: center;
            gap: clamp(5px, 1.5vw, 20px);
            height: 100%;
            justify-content: center;
            border-left: 1px solid rgba(255, 255, 255, 0.251);
            border-right: 1px solid rgba(255, 255, 255, 0.251);
            padding: 0 15px;
            min-height: 100px;
        }
        .countdown-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 3px;
            min-width: 40px;
            flex-shrink: 0;
        }
        .number {
            color: #fff;
            font-size: clamp(14px, 2vw, 22px);
            font-weight: 600;
            line-height: 1;
            transition: transform 0.3s ease;
            min-width: 24px;
            text-align: center;
            font-family: 'Courier New', monospace;
        }
        
        .label {
            color: #d2d5f4;
            text-transform: capitalize;
            font-size: clamp(10px, 1vw, 13px);
            font-weight: 500;
            white-space: nowrap;
        }
        .separator {
            height: 30px;
            width: 1px;
            background: rgba(255, 255, 255, 0.251);
        }
        .countdown-content {
            font-size: clamp(14px, 2vw, 22px);
            font-weight: 700;
            color: #5affdb;
            text-shadow: 2px 2px 2px #000000;
            animation: titleSlideIn 0.8s ease-out 0.4s both;
            transform-origin: left center;
        }
    }

    /* Countdown entrance animation */
    @keyframes countdownSlideIn {
        0% {
            opacity: 0;
            transform: translateY(-20px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Biggopti logo entrance animation */
    @keyframes biggoptiLogoSlideIn {
        0% {
            opacity: 0;
            transform: scale(0.3) translateY(-20px);
        }
        50% {
            opacity: 0.7;
            transform: scale(1.1) translateY(-5px);
        }
        100% {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    
    .bdt-biggopti-btn {
        --nm-text-primary: #fff;
        --nm-accent: #5affdb;
        --nm-shadow-color: #fffdef;
        --nm-spacing-xs: 10px;
        --nm-anim-duration-fast: 0.3s;
        
         /* width: 20%; */
        text-align: right;
        animation: buttonSlideIn 0.8s ease-out 0.6s both;
        a {
            background: transparent;
            border: 0;
            padding: 0;
            margin: 0;
            &:hover {
                background: transparent;
            }
        }
        /* Button Styles */
        .nm-biggopti-btn {
            color: var(--nm-text-primary);
            text-decoration: none;
            font-size: clamp(9px, 1.8vw, 22px);
            display: inline-flex;
            align-items: center;
            gap: var(--nm-spacing-xs);
            justify-content: center;
            font-weight: 700;
            position: relative;
            border-bottom: 1px solid rgba(255, 255, 255, 0.68);
            padding-bottom: 4px;
            text-align: left;
            transition: all var(--nm-anim-duration-fast) ease;
        }
        
        .nm-biggopti-btn:hover {
            color: var(--nm-accent);
            border-color: var(--nm-accent);
        }
        
        .nm-biggopti-btn:hover .zolo-star {
            opacity: 1;
            z-index: 2;
            filter: drop-shadow(0 0 10px var(--nm-shadow-color));
        }
        
        .nm-biggopti-btn svg {
            width: 16px;
            height: 16px;
            display: block;
        }
        
        /* Star Hover Positions */
        .nm-biggopti-btn:hover .zolo-star-1 {
            top: 21%;
            left: -18%;
        }
        
        .nm-biggopti-btn:hover .zolo-star-2 {
            top: -25%;
            left: 10%;
        }
        
        .nm-biggopti-btn:hover .zolo-star-3 {
            top: 69%;
            left: 25%;
        }
        
        .nm-biggopti-btn:hover .zolo-star-4 {
            top: -34%;
            left: 80%;
        }
        
        .nm-biggopti-btn:hover .zolo-star-5 {
            top: 25%;
            left: 115%;
        }
        
        .nm-biggopti-btn:hover .zolo-star-6 {
            top: 5%;
            left: 60%;
        }
    }

    /* Button entrance animation */
    @keyframes buttonSlideIn {
        0% {
            opacity: 0;
            transform: translateX(30px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Animation completion optimization */
    &.animations-complete * {
        will-change: auto;
        animation: none;
    }

}

@media (min-width: 1460px) {
    [id^="bdt-admin-biggopti-api-biggopti"] {
        .bdt-biggopti-content-right,
        .bdt-biggopti-content-inner {
            gap: 80px;
        }
        .bdt-biggopti-countdown {
            .countdown-timer {
                padding: 0 30px;
            }
        }
    }
}

/**
 * admin api biggopti style end
*/