* { margin: 0; padding: 0; box-sizing: border-box; font-family: Arial, sans-serif; }

body {
  background: radial-gradient(1200px 600px at 10% -10%, rgba(244,180,0,0.12), transparent 55%),
              radial-gradient(900px 500px at 110% 10%, rgba(120,120,255,0.10), transparent 55%),
              #0b0f14;
  color: #fff;
  min-height: 100vh;
  padding-bottom: 90px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px;
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.78);
  backdrop-filter: blur(14px);
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logoSvg { display:flex; align-items:center; }

.searchWrap{
  position: relative;
  width: 260px;
  max-width: 60vw;
}

.searchBox {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 12px;
  border-radius: 14px;
}

.searchBox input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
}

.icon { opacity: 0.7; }

.suggestions{
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
  z-index: 200;
}

.suggItem{
  padding: 12px 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.suggItem:last-child{ border-bottom: none; }
.suggItem:active{ background: rgba(255,255,255,0.06); }
.suggName{ font-weight: 800; }
.suggCat{ opacity: 0.7; font-size: 12px; }

.container {
  padding: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.sectionHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  margin-bottom: 10px;
}
.sectionHead h3{
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.3px;
}
.chip{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244,180,0,0.14);
  border: 1px solid rgba(244,180,0,0.28);
  color: #f4b400;
  font-weight: 800;
}

.trendingRow{
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.trendingRow::-webkit-scrollbar{ display:none; }

.trendCard{
  min-width: 140px;
  max-width: 140px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  cursor: pointer;
}
.trendCard img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.trendTitle{
  padding: 10px;
  font-weight: 900;
  font-size: 13px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 420px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

.movieCard {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  cursor: pointer;
  position: relative;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.movieCard:active { transform: scale(0.98); }

.movieCard img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.movieOverlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.movieTitle {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244,180,0,0.16);
  border: 1px solid rgba(244,180,0,0.30);
  color: #f4b400;
  font-weight: 900;
}

.bottomTabs {
  position: fixed;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 10px;
  border-radius: 22px;
  background: rgba(18, 22, 30, 0.72);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  z-index: 9999;
  pointer-events: auto;
  box-shadow: 0 18px 60px rgba(0,0,0,0.6);
}

.tab {
  flex: 1;
  max-width: 200px;
  border: none;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  color: #cfd6df;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.tab.active {
  background: rgba(244,180,0,0.18);
  color: #f4b400;
  border: 1px solid rgba(244,180,0,0.35);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  z-index: 99999;
}
.overlay.hidden{ display:none !important; }

.modal {
  width: 100%;
  max-width: 560px;
  background: rgba(18, 22, 30, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.65);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.18s ease;
}

.modalBig{
  padding-top: 14px;
}

@keyframes slideUp{
  from{ transform: translateY(14px); opacity: 0.5; }
  to{ transform: translateY(0); opacity: 1; }
}

.modalPosterBg{
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(24px);
  opacity: 0.22;
  transform: scale(1.1);
  pointer-events: none;
}

.closeBtn {
  position: absolute;
  right: 14px;
  top: 12px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  z-index: 2;
}

.modalHeader{
  position: relative;
  z-index: 2;
}
.modalHeader h2 {
  font-size: 26px;
  font-weight: 900;
}

.muted {
  opacity: 0.75;
  margin-top: 4px;
}

.playerWrap {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.player {
  width: 100%;
  height: 210px;
  display: block;
}

.modalActions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.btn {
  flex: 1;
  text-decoration: none;
  text-align: center;
  padding: 12px 12px;
  border-radius: 16px;
  font-weight: 900;
  letter-spacing: 0.4px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btnGold {
  background: #f4b400;
  color: #0b0f14;
}

.btnDark {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
}

.relatedWrap{
  position: relative;
  z-index: 2;
  margin-top: 14px;
}
.relatedHead{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 8px;
}
.relatedHead h4{
  font-size: 14px;
  font-weight: 900;
}
.relatedRow{
  display:flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.relatedRow::-webkit-scrollbar{ display:none; }
.relCard{
  min-width: 110px;
  max-width: 110px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  cursor:pointer;
}
.relCard img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
}
.relName{
  padding: 8px;
  font-weight: 900;
  font-size: 12px;
}

.qualityGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.qBtn{
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-weight: 900;
}
.qBtn.enabled{
  background: rgba(244,180,0,0.18);
  border: 1px solid rgba(244,180,0,0.35);
  color: #f4b400;
}
.qBtn:disabled{
  opacity: 0.35;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

.form {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

input, select {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  color: #fff;
  outline: none;
}

.adminList {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.adminItem {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.adminItem img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
}

.miniLink {
  color: #f4b400;
  text-decoration: none;
  font-weight: 900;
}

.emptyState{
  margin-top: 18px;
  text-align: center;
  opacity: 0.7;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* Request Floating Button */
.reqFab{
  position: fixed;
  right: 16px;
  bottom: 110px;
  z-index: 9998;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(244,180,0,0.35);
  background: rgba(244,180,0,0.18);
  color: #f4b400;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.55);
}
.reqFab:active{ transform: scale(0.98); }
