/* =========================
   FONTS
   (Pastikan kamu sudah pasang link Google Fonts di HTML)
========================= */
:root{
  --bg-0: #0b0c14;
  --bg-1: #12132a;

  --pink: #f2a1b3;
  --pink-2: #d47aa0;

  --text: #ececf3;
  --muted: #a7a7c0;

  --glass-1: rgba(255,255,255,.08);
  --glass-2: rgba(255,255,255,.03);

  --border: rgba(255,182,193,.18);
  --border-2: rgba(255,255,255,.14);

  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

/* =========================
   RESET
========================= */
*{ box-sizing:border-box; margin:0; padding:0; }
html, body{ min-height:100%; }

/* =========================
   BACKGROUND (NO STRIP)
========================= */
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--text);
  line-height: 1.65;

  background:
    radial-gradient(1100px 520px at 12% -12%, rgba(242,161,179,.09), transparent 42%),
    radial-gradient(900px 520px at 88% 112%, rgba(242,161,179,.06), transparent 44%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 52%, var(--bg-0) 100%);

  background-attachment: fixed;
}

/* Pastikan container/section gak bikin background tambahan */
.container, .wrap, main, section, header, footer{
  background: transparent;
}

/* =========================
   LAYOUT
========================= */
.container, .wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 18px 70px;
}

.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media(min-width: 900px){
  .grid{ grid-template-columns: 1fr 1fr; }
}

/* ===== STICKY HEADER ===== */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    180deg,
    rgba(11,12,20,.9),
    rgba(11,12,20,.55)
  );
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.siteHeader .inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Brand */
.brand{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brandTitle{
  font-size: 20px;
  font-weight: 700;
  color: var(--pink);
}

.kicker{
  font-size: 11px;
  letter-spacing: .28em;
  color: var(--muted);
}

/* Navigation */
.nav{
  display: flex;
  gap: 10px;
}

.nav a{
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  transition: .2s ease;
}

.nav a:hover{
  background: rgba(255,255,255,.12);
}

/* Biar konten nggak ketutup header 
body{
  padding-top: 72px;
} */


/* =========================
   TITLES
========================= */
.title{
  font-family: Pacifico, cursive;
  font-size: 40px;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 18px rgba(242,161,179,.25);
}

.sub{
  color: var(--muted);
  margin-top: 6px;
  max-width: 620px;
}

h1,h2,h3{
  font-family: "Playfair Display", serif;
  color: var(--pink);
  font-weight: 700;
}

h2{ font-size: 22px; }
h3{ font-size: 18px; }

/* =========================
   CARD (GLASS)
========================= */
.card{
  background: linear-gradient(180deg, var(--glass-1), var(--glass-2));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hr{
  height: 1px;
  background: rgba(255,255,255,.09);
  margin: 20px 0;
}

.list{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: .2s ease;
  text-decoration:none;
  user-select:none;
}

.btn:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
}

.btn.secondary{
  background: rgba(255,255,255,.04);
}

.btn.primary{
  border: none;
  color: #1b0b12;
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  box-shadow: 0 10px 28px rgba(242,161,179,.35);
}

.btn.primary:hover{
  box-shadow: 0 14px 36px rgba(242,161,179,.45);
}

/* =========================
   FORMS
========================= */
.row{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

input, textarea, select{
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--text);
  outline: none;
}

input::placeholder, textarea::placeholder{
  color: rgba(167,167,192,.75);
}

textarea{
  min-height: 120px;
  resize: vertical;
}

/* =========================
   TOPBAR (PAGE HEADER)
========================= */
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 16px;
  margin: 18px 0 22px;
}

/* =========================
   EVENT UI (PUBLIC)
========================= */
.eventBanner{
  width:100%;
  display:block;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
}

.eventMeta{
  margin-top: 12px;
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:flex-start;
}

.eventTitle{
  font-size: 17px;
  font-weight: 800;
}

.eventDates{
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

.eventDesc{
  margin-top: 12px;
  white-space: pre-wrap;
  display:none;
}

.eventDesc.show{
  display:block;
}

.eventActions{
  margin-top: 12px;
  display:flex;
  justify-content:flex-end;
}

.eventBtn{
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
}

/* =========================
   FOOTER
========================= */
footer{
  margin-top: 60px;
  text-align:center;
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   MOBILE POLISH
========================= */
@media(max-width: 520px){
  .title{ font-size: 34px; }
  .container, .wrap{ padding: 18px 14px 60px; }
  .card{ padding: 16px; border-radius: 20px; }
}

/* ===== FIX HEADER GAP (FORCE) ===== */
html, body {
  margin: 0 !important;
  padding: 0 !important;
}

.siteHeader {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
}

.siteHeader .inner {
  margin: 0 auto !important;
  padding: 12px 18px !important;
}

/* Pastikan konten benar-benar mulai tepat setelah header */
.mainContent {
  margin: 0 !important;
  padding: 24px 18px 70px !important;
}

/* Jika sebelumnya kamu pakai padding-top di body, matikan total */
body {
  padding-top: 0 !important;
}

/* ===== HEADER (MATCH INDEX) ===== */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: linear-gradient(180deg, rgba(11,12,20,.90), rgba(11,12,20,.50));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.headerWrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logoBlock{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logoTitle{
  font-weight: 800;
  font-size: 16px;
  color: var(--pink);
}

.logoSub{
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--muted);
}

/* pill menu kanan */
.pillNav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill{
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  transition: .2s ease;
}

.pill:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.pill.active{
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  color: #1b0b12;
  border: none;
}

/* konten page */
.mainContent{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 70px;
}

/* ===== UNIFY HEADER SIZE (INDEX / CONFESSION / EVENT) ===== */
.siteHeader{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: linear-gradient(180deg, rgba(11,12,20,.90), rgba(11,12,20,.50));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* apapun wrapper header kamu, kita samain */
.siteHeader .headerWrap,
.siteHeader .siteInner,
.siteHeader .inner{
  max-width: 1100px;
  margin: 0 auto;
  height: 72px;                 /* <- ini yang menyamakan ukuran */
  padding: 0 18px;              /* <- jangan pakai padding vertikal beda-beda */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* logo block */
.siteHeader .brand,
.siteHeader .logoBlock{
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
}

/* judul logo */
.siteHeader .brandTitle,
.siteHeader .logoTitle{
  font-size: 16px;
  font-weight: 800;
  color: var(--pink);
}

/* sub logo */
.siteHeader .kicker,
.siteHeader .logoSub{
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--muted);
}

/* nav pills */
.siteHeader .nav,
.siteHeader .pillNav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* link pill */
.siteHeader .nav a,
.siteHeader .pill{
  display: inline-flex;
  align-items: center;
  height: 36px;                 /* <- samain tinggi tombol */
  padding: 0 14px;              /* <- samain padding tombol */
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  transition: .2s ease;
}

.siteHeader .nav a:hover,
.siteHeader .pill:hover{
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
/* ===== CC LAYOUT (mirip style contoh) ===== */
.cc-layout{
  max-width: 1150px;
  margin: 18px auto;
  padding: 0 18px 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}

/* LEFT */
.cc-left{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  overflow: hidden;
  min-height: 520px;
  display:flex;
  flex-direction:column;
}
.cc-left-head{
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.cc-left-title{
  font-weight: 800;
  letter-spacing: .02em;
}
.cc-left-sub{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.cc-left-list{
  padding: 10px;
  overflow:auto;
  max-height: calc(100vh - 220px);
}

/* Leaderboard item */
.lb-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  margin-bottom: 10px;
}
.lb-item b{ font-size: 13px; }
.lb-item .muted{ color: rgba(255,255,255,.6); font-size: 12px; }

/* ===== Games layout (Kahoot-like) — scoped ===== */
.ccWrap{
  max-width: 1200px;
  margin: 18px auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 16px;
}

@media (max-width: 980px){
  .ccWrap{ grid-template-columns: 1fr; }
}

.ccSide{
  position: sticky;
  top: 84px; /* aman kalau header sticky */
  align-self: start;
}

.ccPanelHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  margin-bottom: 10px;
}

.ccMe{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.ccPlayers{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,10,24,.55);
  overflow: hidden;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.ccPlayers .lb-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ccPlayers .lb-item:last-child{ border-bottom:none; }

.ccMain{
  min-width: 0;
}

.ccCard{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,10,24,.55);
  padding: 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
}

.ccTopBar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
}

.ccFormRow{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 680px){
  .ccFormRow{ grid-template-columns: 1fr; }
}

.ccField label{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.ccField input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
}

.ccActions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.ccQuestion{
  margin-top: 6px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}

.ccQTitle{
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 8px;
}

.ccQText{
  font-size: 16px;
  line-height: 1.45;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.ccBuzzRow{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.ccAnswerBox{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.ccAnswerBox textarea{
  width:100%;
  border-radius: 16px;
  padding: 12px 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  outline: none;
  resize: vertical;
}

.ccBottom{
  margin-top: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  overflow: hidden;
}

.ccTabs{
  display:flex;
  gap: 8px;
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ccTab{
  flex: 1;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .06em;
}

.ccTab.active{
  background: linear-gradient(180deg, #f2a3c7, #d98ab7);
  color: #0b0a12;
  border-color: rgba(255,255,255,.22);
}

.ccTabBody{
  padding: 12px;
}

.ccFeed .a{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  margin-top: 10px;
}

.ccChatInput{
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
}
  border: none;
}

/* mobile biar gak kegedean */
@media (max-width: 520px){
  .siteHeader .headerWrap,
  .siteHeader .siteInner,
  .siteHeader .inner{
    height: 68px;
    padding: 0 14px;
  }

  .siteHeader .nav a,
  .siteHeader .pill{
    height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
  }
}



