@font-face {
    font-family: 'HouseOfCards';
    src: url('/sea/assets/images/s-cbf/house-of-cards-w03-regular.ttf') format('truetype');
}

.s-cbf {
    background-image: url(/sea/assets/images/s-cbf/bg-cbf.webp);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    padding: 50px 0;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    height: auto;
    padding-top: 50vw;
}

.cbf-container {
    position: relative;
    z-index: 10;
}

.cbf-main-logo {
    max-width: 275px;
    margin: 0 auto;
    width: 70%;
}

.cbf-timer {
    margin: 0;
    filter: drop-shadow(0 0 50px rgba(0, 0, 0, 1));
}

.timer-block {
    border-radius: 5px;
    min-width: 40px;
    filter: drop-shadow(0px 0px 10px rgb(0, 0, 0));
}

.cbf-timer .digital {
    font-family: 'HouseOfCards';
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    line-height: 1;
    background: linear-gradient(180deg, #c5cacd 20%, #FFF 45.26%, #8E9BA2 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0px rgb(111, 111, 111)) drop-shadow(1px 1px 0px rgb(111, 111, 111));
}

.cbf-timer .separator {
    font-family: 'HouseOfCards';
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(180deg, #c5cacd 20%, #FFF 45.26%, #8E9BA2 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0px rgb(111, 111, 111)) drop-shadow(1px 1px 0px rgb(111, 111, 111));
}

.cbf-info-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    max-width: 720px;
    align-items: center;
    justify-content: center;
}

.unite-text {
    font-size: 1.1rem;
}

.more-info-link {
    display: inline-block;
    color: #fff;
    text-decoration: underline;
    font-size: 1.1rem;
    transition: color 0.3s;
    font-weight: 500;
}

.more-info-link:hover {
    color: #4ea3bf;
}

/* Buttons Styling */
.cbf-actions {
    gap: 20px;
    margin-bottom: 60px;
}

.btn-cbf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    height: 70px;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    position: relative;
    text-decoration: none;
    transition: transform 0.2s, filter 0.3s;
    /* Custom shape using clip-path */
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
    overflow: hidden;
    animation: btn-menu-pulse 3s infinite ease-in-out;
}

/* Shimmer loop for cbf buttons */
.btn-cbf::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transform: skewX(-20deg);
    animation: shimmer-sweep 4s infinite ease-in-out;
    pointer-events: none;
}

.btn-cbf::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: inherit;
    z-index: -1;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
}

.btn-blue {
    background: linear-gradient(180deg, #1e4d8c 0%, #0a2342 100%);
    border: 2px solid #3a7bd5;
    box-shadow: 0 0 15px rgba(58, 123, 213, 0.4);
}

.btn-gold {
    background: linear-gradient(180deg, #c59d47 0%, #6e4d1a 100%);
    border: 2px solid #d4b16c;
    box-shadow: 0 0 15px rgba(212, 177, 108, 0.4);
}

.btn-cbf:hover {
    transform: scale(1.03);
    filter: brightness(1.2);
    color: #fff;
}

/* Eye-catching animation for the sticky menu button */
.btn-cbf-menu {
    display: inline-block;
    transition: transform 0.2s, filter 0.3s;
    animation: btn-menu-pulse 1.5s infinite ease-in-out;
}

.btn-cbf-menu:hover {
    transform: scale(1.1);
    filter: brightness(1.5);
}

@keyframes btn-menu-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.05);
        filter: brightness(1.5);
    }
}

@keyframes shimmer-sweep {
    0% {
        left: -150%;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    40% {
        left: 150%;
        opacity: 1;
    }

    100% {
        left: 150%;
        opacity: 0;
    }
}

/* Sponsor Section */
.cbf-sponsors {
    margin-top: 40px;
}

.sponsor-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 15px;
}

.sponsor-logos img {
    max-width: 100%;
}

/* Responsive (Mobile First) */

/* Tablet and larger screens (>= 768px) */
@media (min-width: 768px) {
    .s-cbf {
        background-image: url(/sea/assets/images/s-cbf/bg-cbf-md.webp);
        padding-bottom: 100px;
        padding-top: 35vw;
    }

    .cbf-timer .digital {
        font-size: 5.5rem;
        letter-spacing: 2px;
    }

    .cbf-timer .separator {
        font-size: 4.5rem;
        letter-spacing: 2px;
    }

    .timer-block {
        min-width: 70px;
    }

    .btn-cbf {
        width: 280px;
        height: 60px;
        font-size: 1.4rem;
    }
}

/* Extra large and larger screens (>= 1200px) */
@media (min-width: 1200px) {
    .s-cbf {
        background-image: url(/sea/assets/images/s-cbf/bg-cbf-lg.webp);
        background-size: 1920px;
        padding: 100px 0 50px;
        padding-top: 300px;
    }

    .cbf-timer .digital {
        font-size: 5.5rem;
    }

    .cbf-timer .separator {
        font-size: 4rem;
    }

    .timer-block {
        min-width: 70px;
    }

    .btn-cbf {
        width: 320px;
        height: 70px;
        font-size: 1.6rem;
    }

    .unite-text {
        margin-bottom: -20px;
    }

    .cbf-timer {
        margin: -10px 0;
    }


}

/* Extra large and larger screens (>= 1200px) */
@media (min-width: 1921px) {
    .s-cbf {
        background-image: url(../images/s-cbf/bg-cbf-xl.webp);
        background-size: 2000px;
        padding-top: 350px;
    }

}


/* Extra large and larger screens (>= 1200px) */
@media (min-width: 2500px) {
    .s-cbf {
        background-image: url(/sea/assets/images/s-cbf/bg-cbf-xl.webp);
        background-size: 100%;
        padding: 100px 0 100px;
        max-width: 2500px;
        height: 1300px;
        min-height: 0;
        margin: 0 auto;
        padding-top: 450px;
    }

}