@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');


/* =========================
   RESET
========================= */

#w23-domain-box,
#w23-domain-box *,
#w23-domain-box *::before,
#w23-domain-box *::after {
    box-sizing: border-box;
}

#w23-domain-box {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 15px;

    font-family: "Open Sans", Arial, sans-serif;
}


/* =========================
   GLASS CARD
========================= */

#w23-domain-box .w23-card {
    position: relative;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;
    padding: 30px 36px;

    overflow: hidden;

    border-radius: 26px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(60, 34, 8, 0.22),
            rgba(20, 12, 8, 0.25) 55%,
            rgba(5, 5, 5, 0.30)
        );

    border: 1px solid rgba(245, 151, 38, 0.32);

    -webkit-backdrop-filter: blur(15px) saturate(125%);
    backdrop-filter: blur(15px) saturate(125%);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.05);
}


/* glow */
#w23-domain-box .w23-card::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 5% 5%,
            rgba(255, 150, 0, 0.13),
            transparent 38%
        ),
        radial-gradient(
            circle at 95% 95%,
            rgba(255, 92, 0, 0.05),
            transparent 40%
        );
}


/* content */
#w23-domain-box .w23-logo,
#w23-domain-box .w23-title,
#w23-domain-box .w23-main,
#w23-domain-box .w23-bottom {
    position: relative;
    z-index: 2;
}


/* =========================
   LOGO
========================= */

#w23-domain-box .w23-logo {
    margin: 0 0 14px;
    padding: 0;

    line-height: 0;
}

#w23-domain-box .w23-logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: 190px;
    max-height: 72px;

    margin: 0 auto;

    object-fit: contain;
}


/* =========================
   TITLE
========================= */

#w23-domain-box .w23-title {
    margin: 0 0 24px;

    color: #fff;

    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;

    text-align: center;
}

#w23-domain-box .w23-title strong {
    color: #f39a32;
    font-weight: 800;
}

#w23-domain-box .w23-title > span {
    display: inline-block;
    margin-left: 5px;
}


/* =========================
   DOMAIN + ACCESS
========================= */

#w23-domain-box .w23-main {
    display: flex;

    width: 100%;

    align-items: stretch;

    gap: 14px;

    margin: 0 0 20px;
}


/* domain */
#w23-domain-box .w23-domain {
    display: flex;

    flex: 1 1 auto;

    min-width: 0;
    height: 58px;

    align-items: center;

    padding: 0 20px;

    border-radius: 15px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;

    text-align: left;

    background: rgba(255,255,255,0.055);

    border: 1px solid rgba(245,154,46,0.46);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.04);
}


/* online */
#w23-domain-box .w23-online {
    display: block;

    flex: 0 0 9px;

    width: 9px;
    height: 9px;

    margin-right: 12px;

    border-radius: 50%;

    background: #7dff85;

    box-shadow:
        0 0 11px rgba(125,255,133,0.9);
}


/* =========================
   ACCESS
========================= */

#w23-domain-box .w23-access {
    display: flex;

    flex: 0 0 166px;

    width: 166px;
    height: 58px;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 15px;

    color: #17100a !important;

    font-size: 16px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none !important;

    background:
        linear-gradient(
            135deg,
            #f8b440 0%,
            #f19a35 55%,
            #ed8229 100%
        );

    border: 1px solid rgba(255,220,145,0.85);

    box-shadow:
        0 8px 25px rgba(255,128,0,0.24),
        inset 0 1px 0 rgba(255,255,255,0.25);

    transition: 0.2s ease;
}

#w23-domain-box .w23-access:hover {
    color: #17100a !important;

    filter: brightness(1.06);

    transform: translateY(-2px);
}


/* =========================
   BOTTOM
========================= */

#w23-domain-box .w23-bottom {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: center;

    gap: 14px;
}


/* hai pill cùng kích thước */
#w23-domain-box .w23-update,
#w23-domain-box .w23-register {
    display: flex;

    flex: 0 0 235px;

    width: 235px;
    min-width: 235px;
    max-width: 235px;

    height: 46px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 14px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
}


/* =========================
   UPDATE
========================= */

#w23-domain-box .w23-update {
    color: #a0ffa3;

    background: rgba(44,133,45,0.20);

    border: 1px solid rgba(108,255,123,0.32);
}

#w23-domain-box .w23-update strong {
    color: #c0ffc1;
    font-weight: 800;
}

#w23-domain-box .w23-update-dot {
    display: block;

    flex: 0 0 8px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #78ff82;

    box-shadow:
        0 0 10px rgba(120,255,130,0.9);
}


/* =========================
   REGISTER
========================= */

#w23-domain-box .w23-register {
    color: #ffd06c !important;

    text-decoration: none !important;

    background: rgba(255,145,23,0.07);

    border: 1px solid rgba(255,158,43,0.43);

    transition: 0.2s ease;
}

#w23-domain-box .w23-register strong {
    color: #ff9b25;
    font-weight: 800;
}

#w23-domain-box .w23-register:hover {
    color: #ffe4ae !important;

    background: rgba(255,145,23,0.14);

    transform: translateY(-2px);
}


/* =========================
   TABLET
========================= */

@media only screen and (max-width: 849px) {

    #w23-domain-box .w23-card {
        padding: 27px 24px;
    }

}


/* =========================
   MOBILE
========================= */

@media only screen and (max-width: 549px) {

    #w23-domain-box {
        padding: 8px;
    }

    #w23-domain-box .w23-card {
        padding: 24px 15px 20px;

        border-radius: 21px;
    }


    #w23-domain-box .w23-logo img {
        max-width: 165px;
    }


    #w23-domain-box .w23-title {
        margin-bottom: 20px;

        font-size: 17px;
    }


    /* domain + access dọc */
    #w23-domain-box .w23-main {
        flex-direction: column;

        gap: 10px;

        margin-bottom: 14px;
    }


    #w23-domain-box .w23-domain {
        flex: none;

        width: 100%;
        height: 55px;

        padding: 0 15px;

        font-size: 14px;
    }


    #w23-domain-box .w23-access {
        flex: none;

        width: 100%;
        height: 55px;

        font-size: 15px;
    }


    /* update + register dọc */
    #w23-domain-box .w23-bottom {
        flex-direction: column;

        gap: 9px;
    }


    #w23-domain-box .w23-update,
    #w23-domain-box .w23-register {
        flex: none;

        width: 100%;
        min-width: 100%;
        max-width: 100%;

        height: 45px;

        font-size: 13px;
    }

}