:root {
  --bg: #101215;
  --bg-soft: #14171c;
  --panel: rgba(19, 22, 28, 0.92);
  --panel-2: rgba(13, 15, 19, 0.94);
  --text: rgba(245, 248, 255, 0.92);
  --muted: rgba(198, 207, 221, 0.72);
  --primary: #38f59a;
  --primary-2: #7bffbf;
  --accent: #0fbf67;
  --line: rgba(255, 255, 255, 0.12);
  --glow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 55px rgba(0, 0, 0, 0.55);
  --radius: 18px;
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 209, 0, 0.06), transparent 34%),
    linear-gradient(180deg, #0f1114 0%, #12161c 55%, #0f1114 100%);
  color: var(--text);
}

a,
a:active,
a:focus {
  text-decoration: none;
  outline: 0;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.content {
  padding-top: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.col-md-12,
.col-md-4,
.col-md-6,
.col-md-8,
.col-xs-6 {
  width: 100%;
  padding: 0 12px;
}

.col-xs-6 {
  width: 50%;
}

@media (min-width: 768px) {
  .col-md-4 {
    width: 33.333333%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-8 {
    width: 66.666667%;
  }

  .col-md-12 {
    width: 100%;
  }
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: 10px 0;
  background: rgba(16, 18, 21, 0.84);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logo-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  box-shadow: var(--glow), 0 0 40px rgba(255, 209, 0, 0.06);
}

.logo-img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 209, 0, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 26px rgba(0, 0, 0, 0.45), 0 0 36px rgba(255, 209, 0, 0.12);
}

.logo-title {
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 15px;
  line-height: 1.2;
}

.logo-sub {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.25;
}

.admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--glow);
}

.admin-pill:hover {
  background: rgba(255, 255, 255, 0.05);
}

.hero-panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--glow);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 209, 0, 0.06), transparent 45%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
}

.hero-title {
  position: relative;
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.2px;
}

.hero-desc {
  position: relative;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

.banner-panel {
  margin-bottom: 12px;
}

.banner-link {
  display: block;
}

.banner-link:focus-visible {
  outline: none;
}

.banner-frame {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  box-shadow: var(--glow), 0 0 60px rgba(255, 209, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.banner-link:focus-visible .banner-frame {
  box-shadow: var(--glow), 0 0 0 4px rgba(255, 209, 0, 0.16), 0 0 60px rgba(255, 209, 0, 0.12);
}

.banner-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 209, 0, 0.12), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02) 40%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.banner-media {
  width: 100%;
  aspect-ratio: 2519 / 1416;
  position: relative;
  z-index: 1;
}

.banner-media-preview {
  max-width: 560px;
  margin: 0 auto;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-panel {
    padding: 20px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-desc {
    font-size: 14px;
  }
}

.togel {
  margin-top: 14px;
}

.togel .row > div {
  margin-bottom: 12px;
}

.link-card {
  display: block;
  padding: 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgb(0 255 217);
  background: linear-gradient(
    101deg,
    rgb(0 237 255) 4%,
    rgb(0 231 255) 15%,
    rgb(0 217 255) 30%,
    rgb(0 247 255) 69%,
    rgb(0 255 243) 87%,
    rgb(0 253 255) 92%
  );
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 210, 64, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -18px 35px rgba(0, 0, 0, 0.24), 0 0 42px rgba(255, 200, 0, 0.28);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 210deg, rgba(255, 210, 0, 0.0), rgba(255, 230, 128, 0.62), rgba(255, 210, 0, 0.0), rgba(255, 255, 210, 0.42), rgba(255, 210, 0, 0.0));
  opacity: 0.85;
  filter: blur(18px);
  pointer-events: none;
}

.link-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.04) 30%, rgba(255, 210, 0, 0.14) 70%, rgba(0, 0, 0, 0.14));
  opacity: 0.95;
  pointer-events: none;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 248, 190, 0.82);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 240, 160, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -18px 35px rgba(0, 0, 0, 0.24), 0 0 74px rgba(255, 210, 0, 0.38);
  filter: saturate(1.25) brightness(1.08);
}

.link-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
  color: rgba(12, 12, 12, 0.92);
}

.link-title {
  font-weight: 900;
  letter-spacing: 0.25px;
  font-size: 16.5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(12, 12, 12, 0.92);
}

.link-go {
  flex: 0 0 auto;
  padding: 12px 25px;
  border-radius: 18px;
  border: 1px solid rgba(255, 252, 210, 0.7);
  background: linear-gradient(
    101deg,
    rgba(255, 173, 0, 0.95) 4%,
    rgba(255, 209, 0, 0.95) 15%,
    rgba(255, 213, 0, 0.95) 30%,
    rgba(255, 220, 0, 0.95) 69%,
    rgba(255, 209, 0, 0.95) 87%,
    rgba(255, 178, 0, 0.95) 92%
  );
  color: rgba(10, 10, 10, 0.92);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.25px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34), inset 0 -12px 20px rgba(0, 0, 0, 0.18), 0 10px 22px rgba(0, 0, 0, 0.35),
    0 0 34px rgba(255, 210, 0, 0.28);
}

.footer {
  padding: 18px 0 26px;
}

.footer-inner {
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--glow);
  padding: 16px;
}

.panel-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.muted {
  color: var(--muted);
}

.field {
  margin-top: 12px;
}

label {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

input[type="password"],
input[type="text"],
input[type="url"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(56, 245, 154, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  outline: none;
}

input:focus-visible {
  border-color: rgba(123, 255, 191, 0.42);
  box-shadow: 0 0 0 4px rgba(123, 255, 191, 0.12);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn {
  border: 1px solid rgba(56, 245, 154, 0.22);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.btn.primary {
  border-color: rgba(123, 255, 191, 0.28);
  background: linear-gradient(180deg, rgba(56, 245, 154, 0.22), rgba(15, 191, 103, 0.12));
}

.btn.danger {
  border-color: rgba(255, 91, 91, 0.24);
  background: rgba(255, 91, 91, 0.09);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 245, 154, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 12.5px;
}

.tag.ok {
  color: rgba(123, 255, 191, 0.95);
  border-color: rgba(123, 255, 191, 0.28);
}

.tag.warn {
  color: rgba(255, 216, 96, 0.95);
  border-color: rgba(255, 216, 96, 0.22);
}

.tag.bad {
  color: rgba(255, 91, 91, 0.95);
  border-color: rgba(255, 91, 91, 0.24);
}

.admin-list {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.admin-item {
  border: 1px solid rgba(56, 245, 154, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

.admin-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-item-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 13px;
}

.admin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .admin-grid {
    grid-template-columns: 1fr 1.6fr;
  }
}
