
/* ==============================
   RESET & GLOBAL
============================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

a {
    color: #007bff;
}

a:hover {
    color: #007bff;
    text-decoration: none;
}

p {
    margin-bottom: 15px;
    padding: 5px;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

h1 {
    margin-bottom: 30px;
    font-size: 1.7rem;
    line-height: 1.3;
    text-align: center;
}

h2,
h3 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.5rem;
    text-align: center;
}

h4 {
    font-size: 1.3rem;
}

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

.container2 {
    width: 50%;
    margin: 0 auto;
}

/* ==============================
   HEADER & LOGO
============================== */
.head {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #007bff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: block;
    width: 550px;
    height: 180px;
    margin: 0 auto;
    background: url("/LIVE-DRAW-SYDNEY-LOTTO.png")
        center / 100% 100% no-repeat;
}

.title-head {
    color: #fff;
    font-size: 24px;
    text-decoration: none;
}

.title-footer {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
}

/* ==============================
   BANNER UTAMA
============================== */
.banner1,
.headerbanner {
    text-align: center;
}

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

.headerbanner img {
    display: inline-block;
    width: 728px;
    max-width: 100%;
    padding: 2px;
    border: 1.5px solid #007bff;
}

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

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

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

.banner-float img {
    width: 100%;
    height: auto;
}

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

.floating-top {
    top: 0;
}

.floating-bottom {
    bottom: 0;
}

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

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

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

/* ==============================
   MENU NAVIGASI
============================== */
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
    background: #007bff;
    border: 1px solid #007bff;
}

.menu a {
    display: inline-block;
    margin: 0;
    padding: 10px 20px;
    color: #000;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease,
                background 0.3s ease;
}

.menu a:hover {
    color: #fff;
    background: rgba(0, 0, 0, 0.15);
}

/* ==============================
   KONTEN ARTIKEL
============================== */
.content {
    padding: 10px;
    background: #000;
    border: 1px solid #007bff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.content p {
    margin-bottom: 15px;
    color: #fff;
    font-family: Poppins, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    text-align: justify;
}

.genericon {
    color: #007bff;
}

/* ==============================
   POPUP & OVERLAY
============================== */
.overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    visibility: visible;
    background: rgba(0, 0, 0, 0.7);
    opacity: 1;
    transition: opacity 0.5s,
                visibility 0.5s;
}

.overlay:target {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 30%;
    padding: 2px;
    border-radius: 5px;
    transform: translate(-50%, -50%);
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 5px;
    right: 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popup .close:hover {
    color: #06d85f;
}

.popup .content {
    max-height: 30vh;
    margin-top: 30px;
    overflow: auto;
}

/* ==============================
   TABEL HASIL
============================== */
.KeluaranHeader,
.table,
table {
    border-collapse: collapse;
}

table {
    width: 100%;
}

.table {
    width: 100%;
    margin: 1px auto;
}

.hk-table {
    width: 98%;
}

.lassres,
.lassres table,
.result {
    width: 100%;
}

.lassres {
    margin: 0 auto;
}

.TableKeluaran {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-spacing: 0;
    text-align: center;
}

.KeluaranHeader {
    padding: 10px 0;
    color: #fff;
    font-size: 16px;
    border: 1px solid #ddd;
    background: linear-gradient(
        135deg,
        #951a1d,
        #fff 50%,
        #951a1d 51%,
        #fff 100%
    );
}

td.Keluaran_Banner_Body {
    display: none;
}

th.data-hk-lotto {
    background: #9c1512;
}

td.KeluaranBody {
    border: 1px solid #ddd;
}

.KeluaranBody {
    font-size: 15px;
}

.entry-ld-container .entry-ld-table .entry-ld-brand {
    width: 100%;
    background-color: #000;
    border: 1px solid #ddd;
}

.comment-content td,
.comment-content th,
.entry-content td,
.entry-content th {
    padding: 4px 10px;
}

.result {
    text-align: center;
}

.headresult {
    color: #fff;
    font-weight: 700;
    text-align: center;
    background: #007bff;
}

.result td {
    padding: 2px 4px;
    color: #fff;
    font-size: 15px;
    border: 1px solid #007bff;
}

/* ==============================
   LINK KELUARAN
============================== */
.out-link {
    margin: 0 35px;
    color: #fff;
    list-style-type: square;
}

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

/* ==============================
   FAQ
============================== */
.faq-container {
    max-width: 700px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
}

.faq-item {
    margin-bottom: 10px;
    padding: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #007bff;
    border-radius: 8px;
}

.faq-question {
    position: relative;
    padding: 15px 40px 15px 20px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease,
                color 0.3s ease;
}

.faq-question:hover {
    color: #fff;
    background: #007bff;
}

.faq-question::after {
    position: absolute;
    top: 50%;
    right: 20px;
    content: "+";
    font-size: 20px;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 15px 0;
    color: #333;
    line-height: 1.5;
}

/* ==============================
   UPDATE BOX
============================== */
.update-box {
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-left: 4px solid #ddd;
    border-radius: 0 5px 5px 0;
}

/* ==============================
   FOOTER
============================== */
footer {
    padding: 10px;
    color: #000;
    font-size: 14px;
    text-align: center;
}

/* ==============================
   RESPONSIVE TABLET
============================== */
@media screen and (max-width: 1200px) {
    .KeluaranBody {
        font-size: 15px;
    }
}

@media screen and (max-width: 768px) {
    .container2 {
        width: 100%;
    }

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

    .floating-top img,
    .floating-bottom img,
    .headerbanner img,
    .paitotable {
        width: 100%;
    }

    .popup {
        width: 85%;
    }
}

/* ==============================
   RESPONSIVE MOBILE
============================== */
@media screen and (max-width: 550px) {
    .logo {
        width: 250px;
        height: 80px;
    }

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

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

    .content {
        padding: 10px;
    }

    .content p {
        font-size: 14px;
    }
}

/* ==============================
   FLOATING BANNER MOBILE
============================== */
@media screen and (max-device-width: 1000px) {
    .floating-top img,
    .floating-bottom img {
        width: 96%;
        height: 43px;
        padding: 1px;
        border: 1px solid #007bff;
    }
}
