body {
    background: rgb(0, 0, 0);
    color: white;
    font-family: "Rubik", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.navshdow {
  box-shadow: 0 4px 8px 0 rgba(255, 255, 0, 0.7);
  text-shadow: 0px 0px 3px yellow;
}

.footernv {
  box-shadow: 0px 0px 8px 4px rgba(255, 255, 0, 0.7);
  text-shadow: 0px 0px 3px yellow;
}

.btn-outline-warning {
  box-shadow: 0px 0px 5px 1px gold;
  text-shadow: 0px 0px 3px yellow;
}

.bgkdt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='150'%3E%3Crect width='300' height='150' fill='transparent'/%3E%3Ctext x='10' y='90' font-size='20' fill='white'%3EKINGDOMGROUP%3C/text%3E%3C/svg%3E");
  animation: scrollbg 27s linear infinite;
  z-index: -10;
}

@keyframes scrollbg {
  0%   { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

  input::placeholder {
    font-size: small;
    font-style: italic;
  }
  .result-group {
    display: flex;
    align-items: start;
  }
  .result-group textarea {
    flex: 1;
  }
  .result-group button {
    flex: 0 0 auto;
  }

.btndft {
    background: none;
    border: none;
    position: relative;
    --padding-block: 0.75rem;
    --padding-inline: 2rem;
    --arrow: 5rem;
    --arrow-stripes: .8rem;
  
    padding: var(--padding-block) var(--padding-inline);
    padding-right: calc(var(--padding-inline) + var(--arrow));
    filter: drop-shadow(4px 4px 4px hsl(0 0% 0% / .5));
    color: white;
    border-radius: 999vmax 0 0 999vmax;
    cursor: pointer;
    transition: all 125ms
  }
  .btndft:active {
    scale: .975;
  }  
  .btndft:hover::after{
    animation-play-state: paused;
  }
  .btndft::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background-color: rgb(158, 30, 7);
    background-image: linear-gradient(transparent 50%, hsl(0 0% 0% / .5) 0);
    animation: mask-position 5s linear infinite;
    
    --conic-stops: black 0 90deg, #0000 0;
    --linear-stops: #0000 0px, black 1px var(--arrow-stripes), #0000 calc(var(--arrow-stripes) + 1px) calc(var(--arrow-stripes) * 2);
    --mask-image:
      conic-gradient(from 225deg at right, var(--conic-stops)),
      conic-gradient(from 225deg at right, var(--conic-stops)),
      repeating-linear-gradient(-135deg, var(--linear-stops)),
      repeating-linear-gradient(-45deg, var(--linear-stops));
    --mask-position: 0 0, 0 0, 0 0, 0 100%;
    --mask-position-to: 0, 0, -100% 0 , -100% 100%;
    --mask-size: calc(100% - var(--arrow)) 100%, 100%, 200% 50%, 200% 50%;
    --mask-repeat: no-repeat, repeat, repeat-x, repeat-x;
  
    -webkit-mask-image: var(--mask-image);
    -webkit-mask-position: var(--mask-position);
    -webkit-mask-size: var(--mask-size);
    -webkit-mask-repeat: var(--mask-repeat);
    -webkit-mask-composite: source-over, source-out, source-over, source-over;
  
    mask-image: var(--mask-image);
    mask-position: var(--mask-position);
    mask-size: var(--mask-size);
    mask-repeat: var(--mask-repeat);
    mask-composite: add, subtract, add, add;
  }
  
  @keyframes mask-position {
    to { 
      -webkit-mask-position: var(--mask-position-to);
      mask-position: var(--mask-position-to);
    }
  }

  .btn-daftar {
    position: relative;
    overflow: hidden;
  }

  .btn-daftar svg.border {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    fill: none;
  }

  .btn-daftar .bg-line {
    stroke: rgba(255,255,255,0.3);
    stroke-width: 1.5px;
  }

  .btn-daftar .hl-line {
    stroke: #ff0000;
    stroke-width: 2px;
    stroke-dasharray: 150 480;
    stroke-dashoffset: 150;   
    animation: dash 2s linear infinite;
  }

  @keyframes dash {
    0%   { stroke-dashoffset: 150;  }
    100% { stroke-dashoffset: -480; }
  }



.card2 {
  background-color: #d6d6d6;
  border: 2px solid yellow;
}

.card-img-top2 {
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 7px;
}

.card-body2 li strong:first-child {
  display: inline-block;
  background: #747474;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}

.card-body2 ul li + li {
  border-top: 1px dashed #ccc;
  padding-top: 4px;
  margin-top: 4px;
}

.card2:hover {
  transform: translateY(-4px);
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

.paito-selector {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0;
  padding: 0 1rem; 
  box-sizing: border-box;
}

.paito-palette,
.paito-palette-reset {
  flex: 0 0 auto;
  width: 60px;
  height: 32px;
  cursor: pointer;
  border-radius: 4px;
}

.paito-palette-reset {
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

.paito-selection-indicator {
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

.paito-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
  padding: 0 1rem;
}

.paito-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.paito-table th,
.paito-table td {
  border: 1px solid yellow;
  padding: .75rem 0;
  font-size: .9rem;
}

.paito-digit {
  display: inline-block;
  min-width: 1.2em;
  padding: .25rem .35rem;
  border: 1px solid rgba(255, 255, 255, 0.466);
  margin: 0 .1rem;
  border-radius: 3px;
  transition: background .2s, color .2s;
  cursor: pointer;
}

.paito-palette-1 { background: #e74c3c; color: #fff; }
.paito-palette-2 { background: #3498db; color: #fff; }
.paito-palette-3 { background: #f1c40f; color: #000; }
.paito-palette-4 { background: #2ecc71; color: #000; }
.paito-palette-5 { background: #9b59b6; color: #fff; }
.paito-palette-6 { background: #e67e22; color: #000; }
.paito-palette-7 { background: #1abc9c; color: #000; }

@media (max-width: 576px) {
  .table {
    font-size: 0.85rem;
  }
  .table th,
  .table td {
    padding: 0.25rem 0.5rem;
  }

  .w-75 {
    width: 100% !important;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .table {
    font-size: 0.90rem;
  }
  .table th,
  .table td {
    padding: 0.35rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .paito-swatches { gap: .3rem; }

  .paito-palette,
  .paito-palette-reset { width: 24px; height: 24px; }
  .paito-palette-reset { padding: 0 .5rem; }

  .paito-table th,
  .paito-table td {
    padding: .50rem .30rem;
    font-size: .75rem;
    line-height: 1;
  }
}

@media (max-width: 600px) {
  .paito-selector {
    flex-wrap: wrap; 
    justify-content: space-between;
  }

  .paito-palette,
  .paito-palette-reset {
    width: calc((100% - 3 * .5rem - 2rem) / 4);
  }

  .paito-palette:nth-child(n+5),
  .paito-palette-reset:nth-child(n+5) {
    margin-bottom: 0;
  }

  .paito-selection-indicator {
    font-size: small;
  }

  .paito-table th,
  .paito-table td {
    padding: .50rem .30rem;
  }
}