:root{
  --bg:#0b0b0b;
  --gold:#d6b24c;
  --gold2:#ffdd7a;
  --panel:#101010;
  --line:rgba(214,178,76,.55);
  --text:#f5f5f5;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #222 0%, var(--bg) 60%);
    color: var(--text);
    background: #000000 url(../../../photoku.io/images/2026/01/17/3ddd..jpg) center center no-repeat;
    background-attachment: fixed;
    background-position: top;
    background-size: cover;
}

a{color:inherit; text-decoration:none}
.container{max-width:980px; margin:0 auto; padding:18px}

.top-actions{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:10px 0 16px;
}
.pill{
    background: linear-gradient(to bottom, #fdef02 0%, #ffae00 100%);
    color: #111;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: bold;
    box-shadow: inset 0 0 5px 3px #f18700, inset 0 2px 0 0 #fff, inset 0 0 0 2px #640067, 3px 3px 3px 1px rgba(0, 0, 0, .2);
    border: 1px solid #fdef02;
}

.hero{
  border:2px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#000;
}
.hero img{width:100%; display:block}

.panel{
  margin-top:16px;
  border:2px solid rgb(46 46 46 / 55%);
  border-radius:14px;
  background:linear-gradient(45deg, #ffdb00, #ffbb00);
  padding:16px;
}

.h1{
text-align: center;
    font-size: 26px;
    letter-spacing: 1px;
    margin: 0 0 10px;
    color: #000;
    text-transform: uppercase;
    font-family: sans-serif;
    font-weight: bold;
}

.sub{
  text-align:center;
  color:#000000;
  font-size:13px;
  margin:6px 0 14px;
  font-weight: bold;
}

.tabs{
border-radius: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8px 0 14px;
    box-shadow: 0px 0px 3px #ffe900;
    background: #000;
    padding: 15px;
}
.tab{
padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(270deg, rgba(201, 138, 0, 1) 0%, rgba(253, 243, 35, 1) 21%, rgba(253, 243, 35, 1) 33%, rgba(211, 158, 7, 1) 44%, rgba(215, 166, 9, 1) 60%, rgba(252, 241, 34, 1) 73%, rgba(255, 247, 36, 1) 85%, rgba(201, 138, 0, 1) 100%);
    font-weight: bold;
    animation: gradient 5s ease infinite;
    background-size: 400% 400%;
    border: 2px solid #fad705;
    color: black;
    cursor: pointer;
    box-shadow: 0px 0px 3px #ffe900;
}
.tab.active{
  background:linear-gradient(180deg,var(--gold2),var(--gold));
  color:#111;
}

.table-wrap{overflow:auto; border-radius:12px; border:1px solid var(--line);background: #000;}
table{width:100%; border-collapse:collapse; min-width:740px; background:rgba(0,0,0,.45)}
th,td{padding:10px 12px; border:1px solid rgba(214,178,76,.25); text-align:center}
th{background:linear-gradient(45deg, #ffdb00, #ffbb00); font-size:12px; text-transform:uppercase; letter-spacing:.6px;color: #000;}
td{font-size:13px;1px solid #494200}
td.left{text-align:left}
.btn{
  display:inline-block;
  padding:8px 14px;
  border-radius:10px;
  border:1px solid var(--line);
  font-weight:bold;
}
.btn-claim{
background: linear-gradient(to bottom, #f6f300 0%, #ffbb00 30%);
    color: #111;
    border: 2px solid #faa105;
    box-shadow: 0px 0px 3px #ffe900;
}
.btn-dark{
  background:rgba(0,0,0,.6);
}
button.btn.btn-dark {
    background: rgb(177 0 0);
    color: #fff;
    border: 1px solid #ff0000;
}
a.btn.btn-dark {
    background: linear-gradient(270deg, rgb(201 0 0) 0%, rgb(253 35 35) 21%, rgb(253 35 35) 33%, rgb(211 7 7) 44%, rgb(255 0 0) 60%, rgb(255 0 0) 73%, rgb(199 0 0) 85%, rgb(201 0 0) 100%);
    box-shadow: 0 5px 8px 1px #000000b8;
    color: #ffffff;
    border: 2px solid #a20000;
}

.footer-note{
  text-align:center;
  color:#aaa;
  font-size:12px;
  margin:14px 0 0;
}
.accordion-content.wcover.slide2.color-agent {
    background: #000;
    padding: 10px;
    border-radius: 15px;
}

/* admin simple */
.admin-wrap{max-width:980px;margin:0 auto;padding:18px;}
.admin-card{border:1px solid #333;border-radius:12px;padding:16px;background:#0f0f0f}
.admin-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
input,select,textarea{
width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #333;
    background: #ffffff;
    color: #000000;
}
label{font-size:12px;color:#000000}
.grid{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:720px){.grid{grid-template-columns:1fr} table{min-width:700px}}
.small{font-size:12px;color:#bbb}
/* =========================
   MOBILE RESPONSIVE FIX
   ========================= */
@media (max-width: 560px){

  .container{ padding:12px; }

  .top-actions{
    gap:12px;
    margin:8px 0 12px;
  }

  .pill{
    padding:8px 12px;
    font-size:12px;
  }

  .panel{ padding:12px; }

  .h1{ font-size:20px; }
  .sub{ font-size:12px; }

  .tabs{ padding:10px; gap:8px; }
  .tab{ padding:8px 12px; font-size:12px; }

  /* table agar tidak kepotong */
  .table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }

  table{
    width:100%;
    min-width:0 !important;      /* ini kunci utama */
    table-layout:fixed;          /* biar kolom bisa dipaksa muat */
  }

  th,td{
    padding:8px 6px;
    font-size:12px;
  }

  /* atur lebar kolom biar muat HP */
  th:nth-child(1), td:nth-child(1){ width:56px; }   /* Nomor */
  th:nth-child(2), td:nth-child(2){ width:110px; }  /* Username */
  th:nth-child(4), td:nth-child(4){ width:90px; }   /* Claim */

  /* Hadiah boleh turun baris */
  td:nth-child(3){
    white-space:normal;
    word-break:break-word;
  }

  .btn{
    padding:6px 10px;
    font-size:12px;
    border-radius:9px;
  }
}
/* ===== BUTTON BUKTI (HOME) ===== */
.proofbar{
  margin-top:14px;
  background:#000;
  border:2px solid var(--line);
  border-radius:14px;
  padding:12px;
  box-shadow:0px 0px 3px #ffe900;
}
.btn-wide{
  display:block;
  width:100%;
  text-align:center;
  padding:12px 16px;
  text-transform:uppercase;
  letter-spacing:.8px;
}

/* ===== GALLERY BUKTI ===== */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:12px;
}
.gallery a{
  display:block;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#000;
}
.gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media (max-width:560px){
  .proofbar{ padding:10px; }
  .btn-wide{ padding:10px 12px; font-size:12px; }
  .gallery img{ height:160px; }
}

/* ===== BUKTI: 1 GAMBAR = 1 SLIDE (POSTER) ===== */
.proof-poster-wrap{
  margin-top:14px;
  border:2px solid var(--line);
  border-radius:16px;
  background: radial-gradient(circle at top, #222 0%, #000 65%);
  padding:14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

.proof-poster-head{
  text-align:center;
  margin-bottom:12px;
}
.proof-poster-head .t1{
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
  font-size:18px;
  color:#fff;
}
.proof-poster-head .t2{
  font-weight:800;
  font-size:12px;
  opacity:.9;
  color:#fff;
  margin-top:4px;
}

.proof-slider.proof-poster-slider{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#0a0a0a;
  border:1px solid rgba(214,178,76,.35);
  padding:12px 12px 54px;
}

.proof-poster-slide a{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:2px solid rgba(214,178,76,.45);
  background:#000;
}

.proof-poster-slide img{
  width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain; /* poster tidak kepotong */
  display:block;
  background:#000;
}

/* nav sudah ada dari CSS slider sebelumnya, tapi pastikan tampil rapi */
.proof-nav{
  position:absolute;
  bottom:10px;
  left:10px;
  right:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.proof-arrows{ display:flex; gap:10px; }
.proof-arrow{
  border:1px solid rgba(214,178,76,.55);
  background: rgba(0,0,0,.65);
  color:#fff;
  font-size:14px;
  font-weight:900;
  width:56px;
  height:38px;
  border-radius:10px;
  cursor:pointer;
}
.proof-arrow:hover{ background: rgba(0,0,0,.85); }

.proof-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  flex:1;
}
.proof-dot{
  width:9px;height:9px;border-radius:999px;
  background: rgba(255,221,122,.35);
  border:1px solid rgba(214,178,76,.55);
  cursor:pointer;
}
.proof-dot.is-active{ background: rgba(255,221,122,.95); }

@media (max-width: 560px){
  .proof-poster-wrap{ padding:10px; }
  .proof-poster-head .t1{ font-size:14px; }
  .proof-slider.proof-poster-slider{ padding:10px 10px 54px; }
  .proof-poster-slide img{ max-height:420px; }
  .proof-arrow{ width:52px; font-size:13px; }
}
.btn-done{
  display:inline-block;
  padding:8px 14px;
  border-radius:10px;
  border:1px solid rgba(214,178,76,.35);
  background: rgba(0,0,0,.55);
  color:#bbb;
  font-weight:bold;
  pointer-events:none;
  cursor:not-allowed;
  opacity:.85;
}
