/* Shared content panel — match index.jsp brand colors
   Main: black translucent panels
   Accent cyan: #05dbe3
   Accent gold: #febf00
*/
.blank {
    height: auto !important;
    min-height: 470px;
    padding-bottom: 40px;
    width: 100% !important;
}

.jp-panel {
    max-width: 960px;
    margin: 18px auto 0;
    padding: 28px 26px 24px;
    font-family: RobotoSlab, "Segoe UI", Arial, sans-serif;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(5, 219, 227, 0.45);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.06);
    color: #ffffff;
    box-sizing: border-box;
}

.jp-hero {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(5, 219, 227, 0.28);
}

.jp-title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1.4px;
    color: #febf00;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
    text-transform: uppercase;
}

.jp-sub {
    margin: 0 auto;
    max-width: 560px;
    font-size: 13px;
    line-height: 1.55;
    color: #cccccc;
}

/* Peraturan numbered rules */
.jp-rules {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jp-rules li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(5, 219, 227, 0.28);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
}

.jp-rules .jp-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(5, 219, 227, 0.12);
    border: 1px solid rgba(5, 219, 227, 0.55);
    color: #05dbe3;
    font-weight: bold;
    font-size: 13px;
    line-height: 26px;
    text-align: center;
}

.jp-rules .jp-txt {
    flex: 1;
    padding-top: 4px;
}

/* Promo cards */
.jp-card {
    margin: 0 0 16px;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(5, 219, 227, 0.28);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,.35);
}

.jp-card h2 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: .3px;
    color: #febf00;
}

.jp-card p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.55;
    color: #cccccc;
}

.jp-card p:last-child {
    margin-bottom: 0;
}

.jp-shots {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.jp-shots img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(5, 219, 227, 0.28);
    box-shadow: 0 4px 12px rgba(0,0,0,.4);
}

/* Header clock — keep same position as index (Bootstrap must not shift it) */
.header .datetime {
    width: 220px !important;
    height: 42px !important;
    float: left !important;
    color: #ffffff !important;
    font-family: arial-rounded, Arial, sans-serif !important;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
}

.header .datetime .date,
.header #clock {
    font-size: 11px !important;
    padding: 0 13px !important;
    margin: 0 !important;
    min-width: 175px !important;
    white-space: nowrap !important;
    display: block !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.header img {
    max-width: none !important;
}

/* Permainan game tabs — pill buttons */
.jp-game-tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none !important;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid rgba(5, 219, 227, 0.28);
}

.jp-game-tabs > li {
    float: none !important;
    margin: 0 !important;
}

.jp-game-tabs > li > a {
    display: inline-block;
    padding: 9px 14px !important;
    margin: 0 !important;
    border: 1px solid rgba(5, 219, 227, 0.35) !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #cccccc !important;
    font-size: 12px !important;
    font-weight: bold !important;
    letter-spacing: .4px;
    text-decoration: none !important;
    line-height: 1.2 !important;
    transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.jp-game-tabs > li > a:hover,
.jp-game-tabs > li > a:focus {
    background: rgba(5, 219, 227, 0.14) !important;
    border-color: #05dbe3 !important;
    color: #05dbe3 !important;
    text-decoration: none !important;
    outline: none;
}

.jp-game-tabs > li.active > a,
.jp-game-tabs > li.active > a:hover,
.jp-game-tabs > li.active > a:focus {
    background: linear-gradient(180deg, #05dbe3, #0399a3) !important;
    border-color: #05dbe3 !important;
    color: #04161a !important;
    box-shadow: 0 0 12px rgba(5, 219, 227, 0.35);
}

.jp-panel .tab-content {
    padding: 4px 2px 8px;
}

.jp-panel .tab-pane {
    display: none !important;
}

.jp-panel .tab-pane.active {
    display: block !important;
}

.jp-panel .contact1 {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.6;
    color: #cccccc;
}

.jp-sec {
    margin: 14px 0 6px;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #febf00 !important;
    letter-spacing: .4px;
}

/* Register form */
.jp-form {
    max-width: 740px;
    margin: 4px auto 0;
}

.jp-form table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
    table-layout: fixed;
}

.jp-form td {
    vertical-align: middle;
    font-size: 13px;
    color: #cccccc;
    padding: 0;
}

.jp-form .jp-label {
    width: 180px;
    text-align: right;
    padding-right: 16px;
    white-space: nowrap;
    color: #dddddd;
    line-height: 36px;
}

.jp-form .jp-field {
    width: 280px;
}

.jp-form .jp-tip {
    padding-left: 12px;
    width: auto;
    line-height: 1.35;
    word-break: break-word;
}

.jp-form .jp-field input[type="text"],
.jp-form .jp-field input[type="password"],
.jp-form .jp-field select {
    display: block;
    width: 280px !important;
    height: 36px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    float: none !important;
    border: 1px solid rgba(5, 219, 227, 0.4) !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.72) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-family: Arial, sans-serif !important;
    box-sizing: border-box !important;
    -webkit-appearance: none;
    appearance: none;
}

.jp-form .jp-field select {
    padding-right: 32px !important;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.72) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2305dbe3' d='M1.2 1.2L6 6l4.8-4.8 1.2 1.2L6 8.4 0 2.4z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 10px 7px !important;
}

.jp-form .jp-field input[type="text"]:focus,
.jp-form .jp-field input[type="password"]:focus,
.jp-form .jp-field select:focus {
    outline: none;
    border-color: #05dbe3 !important;
    box-shadow: 0 0 0 2px rgba(5,219,227,.18);
}

.jp-form .jp-field input:-webkit-autofill,
.jp-form .jp-field input:-webkit-autofill:hover,
.jp-form .jp-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
    box-shadow: 0 0 0 1000px #0a1214 inset !important;
    -webkit-box-shadow: 0 0 0 1000px #0a1214 inset !important;
    border: 1px solid rgba(5, 219, 227, 0.4) !important;
    transition: background-color 99999s ease-in-out 0s;
}

.jp-form .req {
    color: #ff6b6b;
    margin-left: 2px;
    font-weight: bold;
}

.jp-form .jp-captcha {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jp-form .jp-captcha #checkc {
    width: 120px !important;
    flex: 0 0 120px;
}

.jp-form #verifycode {
    height: 36px;
    width: auto;
    vertical-align: middle;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid rgba(5, 219, 227, 0.35);
    background: #fff;
}

.jp-form .jp-actions {
    padding-top: 6px;
}

.jp-form .btnRegister,
.jp-form input.btnRegister {
    width: 280px !important;
    height: 40px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #05dbe3, #0399a3) !important;
    color: #04161a !important;
    font-size: 15px !important;
    font-weight: bold !important;
    letter-spacing: 1.5px;
    cursor: pointer;
    float: none !important;
}

.jp-form .btnRegister:hover {
    background: linear-gradient(180deg, #2ee8f0, #05dbe3) !important;
}

.jp-form font,
.jp-form .jp-tip font {
    color: #febf00 !important;
    font-size: 12px !important;
    line-height: 1.35;
}

/* Contact cards (contact.jsp) */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.contact-card {
    flex: 1 1 260px;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: #fff;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(5, 219, 227, 0.35);
    box-shadow: 0 6px 16px rgba(0,0,0,.45);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -40%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
    transform: rotate(18deg);
    opacity: 0;
    transition: left .55s ease, opacity .3s ease;
}

.contact-card:hover,
.contact-card:focus {
    transform: translateY(-3px);
    background: rgba(5, 219, 227, 0.12);
    border-color: #05dbe3;
    box-shadow: 0 12px 24px rgba(0,0,0,.5), 0 0 14px rgba(5,219,227,.22);
}

.contact-card:hover::after,
.contact-card:focus::after {
    left: 120%;
    opacity: 1;
}

.contact-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(5, 219, 227, 0.12);
    border: 1px solid rgba(5, 219, 227, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon img {
    width: 26px;
    height: 26px;
    display: block;
}

.contact-card__body {
    flex: 1;
    min-width: 0;
}

.contact-card__title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: .4px;
    color: #ffffff;
    margin-bottom: 3px;
    text-shadow: 0 1px 2px rgba(0,0,0,.6);
}

.contact-card__desc {
    display: block;
    font-size: 12px;
    color: #aaaaaa;
    line-height: 1.35;
}

.contact-card__arrow {
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: bold;
    color: #05dbe3;
    opacity: .9;
    transition: transform .22s ease, opacity .22s ease;
}

.contact-card:hover .contact-card__arrow {
    transform: translateX(4px);
    opacity: 1;
}

.contact-note {
    margin: 24px auto 0;
    max-width: 640px;
    padding: 12px 16px;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: #cccccc;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(254, 191, 0, 0.55);
    border-radius: 8px;
}

.contact-note b {
    color: #febf00;
}

.menu li a.menu-active {
    color: #05dbe3 !important;
}

.footer {
    padding-top: 40px !important;
}

@media (max-width: 720px) {
    .jp-panel {
        margin: 12px 8px 0;
        padding: 20px 14px 16px;
    }
    .jp-game-tabs > li > a {
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    .contact-card {
        max-width: none;
    }
    .jp-form {
        max-width: none;
    }
    .jp-form table {
        table-layout: auto;
    }
    .jp-form tr {
        display: block;
        margin-bottom: 12px;
    }
    .jp-form .jp-label,
    .jp-form .jp-field,
    .jp-form .jp-tip {
        display: block;
        width: auto;
        text-align: left;
        padding: 0;
        line-height: 1.4;
    }
    .jp-form .jp-label {
        margin-bottom: 6px;
    }
    .jp-form .jp-tip {
        margin-top: 4px;
        padding-left: 0;
    }
    .jp-form .jp-field input[type="text"],
    .jp-form .jp-field input[type="password"],
    .jp-form .jp-field select,
    .jp-form .btnRegister,
    .jp-form input.btnRegister {
        width: 100% !important;
    }
}
