


* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
    background-image:
        linear-gradient(45deg, #111 25%, transparent 25%),
        linear-gradient(-45deg, #111 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #111 75%),
        linear-gradient(-45deg, transparent 75%, #111 75%);
    background-size: 50px 50px;
    background-position:
        0 0,
        0 25px,
        25px -25px,
        -25px 0;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
}

a {
    color: #fff;
    text-decoration: none;
}

p {
    margin-bottom: 15px;
}

h1,
h2,
h3,
h4 {
    color: #fff;
}

h2,
h3 {
    margin-bottom: 10px;
}

div {
    box-sizing: border-box;
}


/* ==============================
   LAYOUT
============================== */

.space {
    width: 100%;
    height: 150px;
}

.container {
    width: 65%;
    margin: auto;
}


/* ==============================
   HEADER
============================== */

.head {
    width: 100%;
    margin-bottom: 15px;
    padding: 15px 0;
    background: #000;
    border: 1px solid #000;
    border-top: 6px solid #d6080d;
    border-bottom: 6px solid #d6080d;
    border-radius: 8px;
}

.logo {
    display: block;
    width: 728px;
    height: 200px;
    margin: auto;
    background: url("/Live-Draw-HK-Pools.png") center / 100% 100% no-repeat;
}

.title-head {
    font-size: 26px;
    color: #fff;
}


/* ==============================
   HEADER BANNER
============================== */

.headerbanner {
    text-align: center;
}

.headerbanner img {
    display: inline-block;
    width: 49.5%;
    padding: 2px;
    border: 1.5px solid #000;
    box-sizing: border-box;
}

.banner-top img {
    width: 728px;
}


/* ==============================
   MENU
============================== */

.menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 0;
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    background: #d6080d;
    border: 1px solid #d6080d;
    border-radius: 8px;
}

.menu a {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
}

.menu a:hover {
    color: #000;
}


/* ==============================
   CONTENT
============================== */

.content {
    margin-bottom: 20px;
    padding: 10px;
    background: #000;
    border: 1px solid #000;
    border-top: 5px solid #d6080d;
    border-bottom: 5px solid #d6080d;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content p {
    margin: 10px;
    padding: 5px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}


/* ==============================
   HEADING
============================== */

h1 {
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 1.7rem;
    line-height: 1;
    text-align: center;
    border-bottom: 3px solid #d6080d;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
}

h3 {
    margin-top: 30px;
    font-size: 1.4rem;
    text-align: center;
}

h4 {
    font-size: 1.3rem;
}

.genericon {
    color: #fff;
}

a:hover {
    color: #fff;
}


/* ==============================
   BANNER
============================== */

.banner1 {
    display: block;
    width: 100%;
    text-align: center;
}

.banner1 img {
    display: inline-block;
    width: 49.5%;
    padding: 1px;
    border: 1.5px solid #000;
    box-sizing: border-box;
}

.banner {
    width: 100%;
    text-align: center;
}

.banner img {
    display: block;
    width: 100%;
    margin: 0;
}


/* ==============================
   FLOATING BANNER
============================== */

.banner-float {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    text-align: center;
}

.floating-top,
.floating-bottom {
    position: fixed;
    left: 0;
    z-index: 1001;
    width: 100%;
    height: auto;
    padding: 0;
    text-align: center;
    background: transparent;
}

.floating-top {
    top: 0;
}

.floating-bottom {
    bottom: 0;
}

.floating-top img,
.floating-bottom img {
    width: 33%;
    padding: 1px;
    border: 1.5px solid #000;
    box-sizing: border-box;
}

.floating-top img {
    height: 100px;
}

.floating-bottom img {
    height: 90px;
}


/* ==============================
   RESULT
============================== */

.lassres {
    width: 100%;
    margin: auto;
}

.lassres table {
    width: 100%;
}

.lassres img {
    width: 100%;
    height: auto;
    padding: 1px 0 0;
}


/* ==============================
   FOOTER
============================== */

.title-footer {
    color: #fff;
    font-size: 24px;
}


/* ==============================
   RELATED KEYWORDS
============================== */

.related-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.related-keywords span {
    display: inline-block;
    padding: 6px 12px;
    color: #333;
    background-color: #f1f1f1;
    border-radius: 20px;
    font-size: 13px;
    cursor: default;
    transition: all 0.3s;
}

.related-keywords span:hover {
    color: #fff;
    background-color: #d6080d;
    transform: scale(1.05);
}


/* ==============================
   TABLET & MOBILE
============================== */

@media only screen and (max-width: 1000px) {

    .container,
    .footer,
    .banner-float,
    .banner-float img,
    .banner-top,
    .banner-top img,
    .headerbanner img {
        width: 100%;
    }

    .logo {
        width: 280px;
        height: 80px;
        margin: auto;
    }

    .banner1,
    .banner2,
    .menu a {
        display: block;
    }

    .menu a {
        font-size: 16px;
    }

    .banner1 img,
    .banner2 img {
        display: block;
        width: 100%;
    }

    .banner {
        width: 100%;
        text-align: center;
        background: #3a3a3a;
    }

    .banner img {
        display: inline-block;
        width: 48%;
        margin: 5px;
    }

    .floating-top img,
    .floating-bottom img {
        width: 96%;
        height: 43px;
        padding: 1px;
        border: 1px solid #000;
    }

    .banner-float {
        bottom: 1px;
    }

    .lassres {
        width: 100%;
        margin: auto;
    }

    .lassres tableresult {
        width: 100%;
        padding: 0;
        border: 1px solid #fff;
    }

    .title-footer,
    h3 {
        font-size: 14px;
    }
}


/* ==============================
   MOBILE
============================== */

@media only screen and (max-width: 768px) {

    .container,
    .banner-float,
    .banner-float img,
    .banner-top,
    .banner-top img,
    .footer,
    .headerbanner img,
    .floating-top img,
    .floating-bottom img {
        width: 100%;
    }

    .logo {
        width: 280px;
        height: 80px;
    }

    .banner1,
    .banner2,
    .menu a {
        display: block;
    }

    .menu a {
        font-size: 16px;
    }

    .banner1 img,
    .banner2 img {
        display: block;
        width: 100%;
    }

    .banner {
        width: 100%;
        text-align: center;
        background: #3a3a3a;
    }

    .banner img {
        display: inline-block;
        width: 48%;
        margin: 0;
    }

    .floating-top img,
    .floating-bottom img {
        width: 100%;
        height: 43px;
    }

    .banner-float {
        bottom: 0;
    }

    .lassres {
        width: 100%;
        margin: auto;
    }

    .lassres tableresult {
        width: 100%;
        padding: 0;
        border: 1px solid #fff;
    }

    .title-footer,
    h3 {
        font-size: 14px;
    }
}


/* ==============================
   SMALL MOBILE
============================== */

@media only screen and (max-width: 550px) {

    .logo {
        width: 300px;
        height: 80px;
        margin: auto;
    }

    .banner1 img {
        display: inline-block;
        width: 100%;
    }

    .container {
        width: 100%;
    }

    .content {
        padding: 10px 8px;
    }
}

