
/* =========================================================
   PAITO SDY
   PREMIUM MIDNIGHT NAVY - METALLIC GOLD LUXURY
   RESPONSIVE | LIGHTWEIGHT | SEO FRIENDLY
   FILE: /css/style.css
========================================================= */

/* =========================================================
   1. ROOT VARIABLES
========================================================= */

:root {
    --primary: #C49A45;
    --primary-dark: #17263D;
    --primary-light: #F4D889;

    --gold: #C49A45;
    --gold-light: #FFF0C2;
    --gold-dark: #8C6428;
    --gold-rich: #D4AF37;

    --text: #E9EDF5;
    --text-light: #B8C3D4;

    --bg: #081321;
    --white: #122139;

    --border: #34445D;
    --shadow: 0 3px 14px rgba(0, 0, 0, .25);

    --radius: 9px;
    --container-width: 980px;

    --gold-gradient: linear-gradient(
        135deg,
        #8C6428 0%,
        #C49A45 25%,
        #FFF0C2 45%,
        #D4AF37 60%,
        #F4D889 78%,
        #8C6428 100%
    );

    --navy-gradient: linear-gradient(
        135deg,
        #0A1526 0%,
        #17263D 55%,
        #203653 100%
    );
}

/* =========================================================
   2. RESET & BASE
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 65px;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;

    overflow-x: clip;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color .15s ease;
}

a:hover {
    color: var(--gold);
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

/* =========================================================
   3. MAIN CONTAINER
========================================================= */

.container2 {
    width: 100%;
    max-width: var(--container-width);
    margin: 18px auto;
    padding: 0 15px;
}

/* =========================================================
   HEADER & LOGO - COMPACT CENTER POSITION
   MIDNIGHT NAVY - METALLIC GOLD LUXURY
========================================================= */

.head {
    position: relative;
    width: 100%;
    min-height: 90px;

    padding: 8px 12px 10px;
    margin-bottom: 12px;

    background: var(--navy-gradient);

    border: 1px solid var(--gold-dark);
    border-top: 3px solid var(--gold);

    border-radius: var(--radius);
    box-shadow: var(--shadow);

    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: block;

    width: 100%;
    max-width: 220px;
    height: 66px;

    margin: -2px auto 0;

    background-image: url("/img/logo.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* TABLET */

@media (max-width: 900px) {
    .head {
        min-height: 82px;
    }

    .logo {
        max-width: 205px;
        height: 62px;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .head {
        min-height: 76px;
        padding: 6px 10px 8px;
        margin-bottom: 10px;
    }

    .logo {
        max-width: 185px;
        height: 58px;
        margin-top: -2px;
    }
}

/* SMALL MOBILE */

@media (max-width: 370px) {
    .head {
        min-height: 70px;
    }

    .logo {
        max-width: 170px;
        height: 54px;
    }
}

/* =========================================================
   5. MAIN NAVIGATION
========================================================= */

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 14px;

    background: linear-gradient(
        135deg,
        #0A1526,
        #17263D,
        #263C59
    );

    border-bottom: 3px solid var(--gold);
    border-radius: var(--radius);
    overflow: hidden;
}

.menu a {
    display: block;
    padding: 11px 17px;

    color: #FFF0C2;
    font-size: 14px;
    font-weight: 700;
    text-align: center;

    transition:
        background-color .15s ease,
        color .15s ease;
}

.menu a:hover {
    color: #FFFFFF;
    background: linear-gradient(
        135deg,
        #8C6428,
        #C49A45,
        #F4D889
    );
}

/* =========================================================
   6. MAIN CONTENT
========================================================= */

.content {
    width: 100%;
    min-width: 0;
    padding: 24px;
    margin-bottom: 14px;

    background: #101E32;

    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content p {
    margin: 0 0 15px;
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.8;
}

.content ul,
.content ol {
    padding-left: 24px;
    margin: 0 0 18px;
}

.content li {
    margin-bottom: 7px;
    color: var(--text-light);
}

.content strong {
    color: var(--gold-light);
}

.content a {
    font-weight: 600;
}

.content a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   7. HEADINGS
========================================================= */

h1,
h2,
h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.35;
}

h1 {
    margin: 0 0 20px;

    background: var(--gold-gradient);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    font-size: clamp(25px, 3vw, 30px);
    line-height: 1.3;
    text-align: center;
    overflow-wrap: break-word;

    animation: goldShimmer 7s linear infinite;
}

h2 {
    margin: 29px 0 14px;
    padding-bottom: 9px;

    color: var(--gold-light);
    font-size: 23px;
    line-height: 1.35;

    border-bottom: 2px solid transparent;
    border-image: var(--gold-gradient) 1;
}

h3 {
    margin: 21px 0 10px;
    color: var(--gold);
    font-size: 18px;
    line-height: 1.4;
}

.title-head {
    color: var(--gold-light);
}

.title-head:hover {
    color: var(--gold);
}

/* =========================================================
   8. INTERNAL NAVIGATION
========================================================= */

.paito-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    padding: 12px;
    margin: 12px 0 18px;

    background: #15243A;
    border: 1px solid var(--gold-dark);
    border-radius: 7px;
}

.paito-navigation a {
    display: inline-block;
    padding: 6px 11px;

    color: var(--gold-light);
    background: #1C2D46;

    border: 1px solid #52617A;
    border-radius: 5px;

    font-size: 13px;
    font-weight: 700;
}

.paito-navigation a:hover {
    color: #17263D;
    background: var(--gold-gradient);
    border-color: var(--gold);
}

/* =========================================================
   9. PAITO TABLE
   RESPONSIVE TABLE
========================================================= */

.paito-container,
#table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 15px 0 24px;
    padding: 0;

    overflow-x: hidden;
    overflow-y: visible;

    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.paito-container::-webkit-scrollbar,
#table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

#drawing-table,
.paito-container table {
    display: table;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0;
    padding: 0;

    table-layout: fixed !important;
    border-collapse: collapse;
    border-spacing: 0;

    background: #101E32;
    box-sizing: border-box;
}

/* Table cells */

#drawing-table th,
#drawing-table td,
.paito-container th,
.paito-container td {
    min-width: 0 !important;
    max-width: 100%;
    padding: 5px 1px;

    color: var(--text);

    border: 1px solid #34445D;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
    vertical-align: middle;
    white-space: nowrap;

    box-sizing: border-box;
}

/* Seven-day header */

#drawing-table tr.headd td {
    width: 14.2857%;
    padding: 9px 1px;

    color: #FFF0C2 !important;

    background: linear-gradient(
        135deg,
        #0A1526 0%,
        #17263D 50%,
        #263C59 100%
    ) !important;

    border: 1px solid rgba(196, 154, 69, .45);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;

    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
}

/* Table header */

#drawing-table thead td,
#drawing-table thead th {
    color: #FFF0C2 !important;
    background: #243752 !important;
    font-weight: 700;
}

.paito-container th {
    color: #FFF0C2;
    background: #17263D;
    font-weight: 700;
    text-align: center;
}

/* Table rows */

#drawing-table tbody tr:nth-child(even),
.paito-container tr:nth-child(even) {
    background: #17263D;
}

#drawing-table tbody tr:hover {
    background: #203653;
}

/* Intro row */

#drawing-table .intro td,
.intro td {
    background: #101E32 !important;
}

/* Normal numbers */

.asux {
    color: #B8C3D4;
    background: #101E32;
    font-weight: 400;
}

.asu {
    font-weight: 400;
}

/* Highlight */

#drawing-table .highlight {
    display: inline;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
}

/* Table child elements */

#drawing-table td > *,
#drawing-table th > * {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

/* Search input inside table */

#drawing-table input.cari {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    padding: 0;
    font-size: inherit;
    box-sizing: border-box;
}

/* Header class */

.head th {
    color: #FFF0C2;
    background: #17263D;
}

/* =========================================================
   10. NUMBER COLORS
========================================================= */

.e1, .e2, .e3, .e4, .e5,
.e6, .e7, .e8, .e9, .e0 {
    color: #FFFFFF;
    background: #B83D4B;
}

.k1, .k2, .k3, .k4, .k5,
.k6, .k7, .k8, .k9, .k0 {
    color: #FFFFFF;
    background: #23845F;
}

.c1, .c2, .c3, .c4, .c5,
.c6, .c7, .c8, .c9, .c0 {
    color: #FFFFFF;
    background: #3269B0;
}

.a1, .a2, .a3, .a4, .a5,
.a6, .a7, .a8, .a9, .a0 {
    color: #17263D;
    background: #D4AF37;
}

.highlight {
    padding: 1px 4px;
    margin: 0 -4px;
}

/* =========================================================
   11. SEARCH & FORM
========================================================= */

input.cari {
    width: 50px;
    max-width: 100%;
    height: 36px;

    color: var(--gold-light);
    background: #17263D;

    border: 1px solid darkgoldenrod;
    border-radius: 5px;

    font-weight: 700;
    text-align: center;
}

.content textarea,
#html-wrap textarea {
    display: block;
    width: 100%;
    min-height: 80px;
    padding: 10px;

    color: var(--text);
    background: #17263D;

    border: 1px solid var(--border);
    border-radius: 5px;

    resize: vertical;
}

#html-wrap textarea {
    height: 50px;
    min-height: 50px;
    margin: 0 0 10px;
    overflow: auto;
}

/* =========================================================
   12. BUTTONS
========================================================= */

#rb {
    display: inline-block;
    padding: 10px 20px;

    color: #17263D;
    background: var(--gold-gradient);

    border: 0;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;

    transition: background-color .15s ease;
}

#rb:hover {
    background: #FFF0C2;
}

#btnSubmit {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 65px;
    height: 32px;

    padding: 0 12px;
    margin: 0;

    color: #17263D;

    background: linear-gradient(
        135deg,
        #8C6428,
        #C49A45,
        #F4D889,
        #C49A45
    );

    border: 1px solid #FFF0C2;
    border-radius: 5px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    line-height: normal;

    cursor: pointer;

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);

    transition:
        background-color .15s ease,
        color .15s ease;
}

#btnSubmit:hover {
    color: #0A1526;
    background: #FFF0C2;
}

/* =========================================================
   13. COLOR SELECTOR
========================================================= */

#color-selector {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
    overflow: visible;
}

#color-selector .color {
    float: none;
    display: block;
    flex: 0 0 27px;

    width: 27px;
    height: 27px;

    padding: 0;
    margin: 0;

    border: 2px solid rgba(255, 240, 194, .75);
    border-radius: 5px;

    cursor: pointer;

    box-shadow:
        0 1px 4px rgba(0, 0, 0, .3),
        inset 0 1px 1px rgba(255, 255, 255, .25);

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

#color-selector .color:hover {
    transform: translateY(-2px);

    box-shadow:
        0 3px 7px rgba(0, 0, 0, .35),
        0 0 0 1px var(--gold-light);
}

#color-selector .color.eraser {
    background: linear-gradient(135deg, #FFFFFF, #DCE3ED);
    border: 2px solid var(--gold);
}

#color-selector .color.Blue {
    background: #43A2FF;
}

#color-selector .color.Aqua {
    background: #00DDE8;
}

#color-selector .color.Teal {
    background: #43CD80;
}

#color-selector .color.Lime {
    background: #01D96B;
}

#color-selector .color.Yellow {
    background: #FFDC00;
}

#color-selector .color.Orange {
    background: #FF851B;
}

#color-selector .color.Red {
    background: #FF4136;
}

#color-selector .color.Pink {
    background: #F012BE;
}

#color-selector .color.Purple {
    background: #A23BEC;
}

#color-selector .color.Silver {
    background: #A9A9A9;
}

#color-selector .selected {
    border: 2px solid #FFFFFF;

    box-shadow:
        0 0 0 2px var(--gold),
        0 2px 7px rgba(0, 0, 0, .35);

    transform: scale(1.08);
}

#toggle-tracing-mode {
    display: none;
}

/* =========================================================
   14. COLOR MENU
========================================================= */

#colormenu,
.colormenu {
    position: sticky;
    top: 0;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;

    gap: 10px;
    width: 100% !important;
    max-width: 804px;

    height: auto !important;
    min-height: 52px;

    padding: 9px 12px;
    margin: 12px auto;

    background: linear-gradient(
        135deg,
        #0A1526 0%,
        #17263D 40%,
        #263C59 70%,
        #17263D 100%
    );

    border: 1px solid var(--gold);
    border-radius: 7px;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .35),
        0 0 8px rgba(196, 154, 69, .12),
        inset 0 1px 0 rgba(255, 240, 194, .12);

    box-sizing: border-box;
    overflow: visible;
    z-index: 100;
}

/* Color menu button */

#colormenu #btnSubmit,
.colormenu #btnSubmit {
    flex-shrink: 0;
}

/* Color selector area */

#colormenu #color-selector,
.colormenu #color-selector {
    display: flex;
    flex: 1 1 200px;

    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;

    gap: 8px;
    width: auto;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
    overflow: visible;
}

/* Fixed class compatibility */

#colormenu.fixed,
.colormenu.fixed {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;

    width: 100% !important;
    max-width: 804px;
    height: auto !important;

    margin: 12px auto;
    transform: none !important;

    border-radius: 7px;
    z-index: 1000;
}

/* =========================================================
   15. BANNER & IFRAME
========================================================= */

.iklan {
    margin-bottom: 15px;
}

.iklan img {
    border-radius: 6px;
}

.headerbanner {
    margin-bottom: 15px;
    text-align: center;
}

.headerbanner img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 6px;
}

.lassres {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.lassres iframe {
    display: block;
    width: 100%;

    border: 0;
    border-radius: 8px;
    background: #101E32;
}

.lassres .table {
    position: relative;
    z-index: 1;
}

/* =========================================================
   16. FLOATING BANNER
========================================================= */

.banner-float {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    text-align: center;
    z-index: 999;
    pointer-events: none;
}

.banner-float img {
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
    pointer-events: auto;
}

.floating-top,
.floating-bottom {
    position: fixed;
    left: 0;
    width: 100%;

    text-align: center;
    z-index: 999;
}

.floating-top {
    top: 0;
}

.floating-bottom {
    bottom: 0;
}

.floating-top img,
.floating-bottom img {
    max-width: 100%;
    height: auto;
}

/* =========================================================
   17. FOOTER
========================================================= */

.site-footer {
    width: 100%;
    padding: 20px 15px;
    margin-top: 15px;

    color: #E9EDF5;
    background: linear-gradient(
        135deg,
        #0A1526,
        #17263D,
        #203653
    );

    border-top: 3px solid var(--gold);
    border-radius: var(--radius);

    text-align: center;
}

.site-footer p {
    margin: 0 0 6px;
    color: #D5DDEA;
    font-size: 13px;
    line-height: 1.7;
}

.site-footer a {
    color: var(--gold-light);
    font-weight: 700;
}

.site-footer a:hover {
    color: #FFFFFF;
}

.footer-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

    gap: 9px;
    margin-top: 10px;
    font-size: 13px;
}

.footer-navigation a {
    color: var(--gold-light);
}

.histats-wrapper {
    padding: 10px 0;
    text-align: center;
}

/* =========================================================
   18. ACCESSIBILITY
========================================================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

::selection {
    color: #101E32;
    background: var(--gold-light);
}

/* =========================================================
   19. TABLET
========================================================= */

@media (max-width: 900px) {

    .container2 {
        max-width: 100%;
        padding: 0 12px;
        margin: 13px auto;
    }

    .content {
        padding: 21px;
    }

    .logo {
        max-width: 350px;
        height: 95px;
    }

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

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 22px;
    }

    #drawing-table,
    .paito-container table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    #colormenu,
    .colormenu,
    #colormenu.fixed,
    .colormenu.fixed {
        max-width: 100%;
    }
}

/* =========================================================
   20. MOBILE
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 15px;
    }

    .container2 {
        padding: 0 9px;
        margin: 10px auto;
    }

    .head {
        padding: 10px;
        margin-bottom: 10px;
    }

    .logo {
        max-width: 260px;
        height: 78px;
    }

    .menu {
        justify-content: center;
        border-radius: 6px;
    }

    .menu a {
        flex: 1 1 auto;
        padding: 9px 8px;
        font-size: 12px;
    }

    .content {
        padding: 15px;
        margin-bottom: 10px;
    }

    .content p {
        margin-bottom: 13px;
        font-size: 14.5px;
        line-height: 1.75;
    }

    .content ul,
    .content ol {
        padding-left: 21px;
    }

    h1 {
        margin-bottom: 17px;
        font-size: 23px;
    }

    h2 {
        margin: 24px 0 12px;
        padding-bottom: 7px;
        font-size: 20px;
    }

    h3 {
        margin: 18px 0 9px;
        font-size: 17px;
    }

    .paito-navigation {
        gap: 6px;
        padding: 9px;
    }

    .paito-navigation a {
        padding: 6px 8px;
        font-size: 12px;
    }

    /* Mobile table */

    .paito-container,
    #table-wrap {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;

        margin: 12px 0 19px;

        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    #drawing-table,
    .paito-container table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
    }

    #drawing-table th,
    #drawing-table td,
    .paito-container th,
    .paito-container td {
        min-width: 0 !important;
        padding: 2px 0;
        font-size: 8px;
        line-height: 1.1;
        letter-spacing: 0;
    }

    #drawing-table tr.headd td {
        width: 14.2857%;
        padding: 6px 0;
        font-size: 9px;
        line-height: 1.2;
    }

    #drawing-table .highlight {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Mobile color menu */

    #colormenu,
    .colormenu {
        gap: 8px;
        padding: 8px;
        min-height: 48px;
        margin: 10px auto;
    }

    #btnSubmit {
        min-width: 55px;
        height: 30px;
        padding: 0 9px;
        font-size: 10px;
    }

    #colormenu #color-selector,
    .colormenu #color-selector {
        flex-basis: 150px;
        gap: 6px;
    }

    #color-selector .color {
        flex-basis: 25px;
        width: 25px;
        height: 25px;
    }

    #colormenu.fixed,
    .colormenu.fixed {
        padding: 7px;
        margin: 10px auto;
    }

    /* Footer */

    .site-footer {
        padding: 16px 10px;
    }

    .site-footer p {
        font-size: 12px;
    }

    .footer-navigation {
        gap: 7px;
        font-size: 12px;
    }

    .floating-top img,
    .floating-bottom img {
        max-width: 100%;
        height: auto;
    }
}

/* =========================================================
   21. SMALL MOBILE
========================================================= */

@media (max-width: 370px) {

    .container2 {
        padding: 0 7px;
    }

    .content {
        padding: 11px;
    }

    .logo {
        max-width: 230px;
        height: 70px;
    }

    .menu a {
        padding: 9px 6px;
        font-size: 11px;
    }

    h1 {
        font-size: 21px;
    }

    h2 {
        font-size: 19px;
    }

    h3 {
        font-size: 16px;
    }

    #drawing-table th,
    #drawing-table td,
    .paito-container th,
    .paito-container td {
        padding: 1px 0;
        font-size: 6px;
        line-height: 1.05;
    }

    #drawing-table tr.headd td {
        padding: 4px 0;
        font-size: 7px;
    }

    input.cari {
        width: 42px;
        height: 32px;
    }

    #colormenu,
    .colormenu {
        gap: 6px;
        padding: 7px;
    }

    #colormenu #color-selector,
    .colormenu #color-selector {
        gap: 5px;
    }

    #color-selector .color {
        flex-basis: 23px;
        width: 23px;
        height: 23px;
    }
}

/* =========================================================
   22. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   PAITO SDY
   INTERNAL NAVIGATION - MACAU STYLE
   THEME: MIDNIGHT NAVY - METALLIC GOLD
========================================================= */

.paito-navigation {
    width: 100%;
    margin: 15px 0 20px;
    padding: 15px;

    background: linear-gradient(
        135deg,
        #0A1526 0%,
        #17263D 55%,
        #263C59 100%
    );

    border: none;
    border-radius: 7px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
    box-sizing: border-box;
}

.paito-navigation-title {
    display: block;
    margin: 0 0 13px;
    padding-bottom: 10px;

    color: #F4D889;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;

    border-bottom: 1px solid rgba(196, 154, 69, .45);
}

.paito-navigation-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
}

.paito-navigation-links a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 43px;
    padding: 9px 12px;

    color: #FFF0C2;

    background: rgba(255, 255, 255, .045);

    border: 1px solid rgba(196, 154, 69, .45);
    border-radius: 5px;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    text-align: center;

    box-sizing: border-box;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.paito-navigation-links a::before {
    content: "›";
    flex: 0 0 auto;
    margin-right: 7px;

    color: #F4D889;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* FAQ memenuhi dua kolom */

.paito-navigation-links a:last-child {
    grid-column: 1 / -1;
}

/* Hover */

.paito-navigation-links a:hover {
    color: #17263D;

    background: var(--gold-gradient);
    border-color: #FFF0C2;

    box-shadow: 0 0 12px rgba(212, 175, 55, .25);
}

.paito-navigation-links a:hover::before {
    color: #17263D;
}

/* TABLET */

@media (max-width: 900px) {

    .paito-navigation {
        padding: 13px;
    }

    .paito-navigation-links {
        gap: 8px;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .paito-navigation {
        padding: 11px;
        margin: 12px 0 16px;
    }

    .paito-navigation-title {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .paito-navigation-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .paito-navigation-links a {
        min-height: 42px;
        padding: 8px;
        font-size: 11px;
    }

    .paito-navigation-links a::before {
        margin-right: 6px;
        font-size: 17px;
    }
}

/* SMALL MOBILE */

@media (max-width: 370px) {

    .paito-navigation-links {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .paito-navigation-links a {
        min-height: 39px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* =========================================================
   PAITO SDY - STICKY COLOR MENU FIX
   FIX SCROLL MENU PEWARNAAN
   MIDNIGHT NAVY - METALLIC GOLD
========================================================= */

/* 1. Perbaiki overflow elemen utama */

html,
body {
    overflow-x: visible !important;
}

.container2,
.content,
.paito-container,
#table-wrap,
.lassres {
    overflow: visible !important;
}

/* 2. Menu warna tetap terlihat saat halaman di-scroll */

#colormenu,
.colormenu,
#colormenu.fixed,
.colormenu.fixed {
    position: -webkit-sticky !important;
    position: sticky !important;

    top: 0 !important;
    left: auto !important;

    width: 100% !important;
    max-width: 804px !important;

    height: auto !important;

    margin-left: auto !important;
    margin-right: auto !important;

    transform: none !important;

    box-sizing: border-box !important;

    z-index: 999999 !important;
}

/* 3. Pastikan area pilihan warna tidak terpotong */

#color-selector {
    overflow: visible !important;
}

/* 4. Pastikan tabel berada di bawah menu warna */

.lassres .table,
#drawing-table {
    position: relative;
    z-index: 1;
}

/* =========================================================
   23. METALLIC GOLD SHIMMER
   DECORATIVE EFFECT ONLY
========================================================= */

@keyframes goldShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* Gold accent pada border header */

.head {
    border-top-color: var(--gold);
    box-shadow:
        0 3px 14px rgba(0, 0, 0, .25),
        0 0 8px rgba(196, 154, 69, .08);
}

/* Gold shimmer pada garis navigasi */

.menu {
    border-bottom-color: var(--gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
}

/* Metallic gold accent untuk judul navigasi */

.paito-navigation-title {
    background: var(--gold-gradient);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: goldShimmer 9s linear infinite;
}

/* Gold reflection pada menu warna */

#colormenu,
.colormenu {
    border-color: var(--gold);

    box-shadow:
        0 3px 12px rgba(0, 0, 0, .35),
        0 0 10px rgba(196, 154, 69, .15),
        inset 0 1px 0 rgba(255, 240, 194, .12);
}

/* Gold accent pada footer */

.site-footer {
    border-top-color: var(--gold);
}

/* =========================================================
   END - PAITO SDY MIDNIGHT NAVY METALLIC GOLD
========================================================= */
