:root {
  --blue: #228bff;
  --light: #f4f8ff;
  --muted: #6b7c93;
  --bg: #ffffff;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, Arial, Helvetica, sans-serif;
  margin: 0;
  background: linear-gradient(180deg, var(--light), #ffffff 40%);
  color: #0f1724;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  background: linear-gradient(90deg, var(--blue), #4aa0ff);
  color: #fff;
  padding: 14px 0;
  box-shadow: 0 8px 30px rgba(11, 102, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}

.hamburger {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav {
  position: fixed;
  right: -360px;
  top: 0;
  bottom: 0;
  width: 360px;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  box-shadow: -8px 0 30px rgba(6, 30, 80, 0.12);
  transition: right 0.35s;
  padding: 20px 18px;
  overflow: auto;
}

.nav.open {
  right: 0;
}

.nav-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 12px;
}

.nav-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--blue);
  box-shadow: 0 6px 18px rgba(11, 102, 255, 0.08);
}

.nav-name {
  margin-top: 8px;
  font-weight: 700;
  color: #228bff;
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.nav-links li {
  margin-bottom: 8px;
}

.nav-links a {
  color: #228bff;
  text-decoration: none;
  font-weight: 600;
}

.nav-links b {
  color: #4d00ff;
  text-decoration: none;
  font-weight: 600;
}
.nav-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn {
  background: #fff;
  color: #228bff;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  font-weight: 700;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(11, 102, 255, 0.12);
  color: var(--blue);
  padding: 8px 12px;
  border-radius: 8px;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  padding: 24px 0;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background:;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 6px 18px rgba(11, 102, 255, 0.06);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 102, 255, 0.08);
}

.thumb img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.card .card-body {
  flex: 1;
}

.title {
  margin: 0;
  font-size: 20px;
}

.title a {
  text-decoration: none;
  color: #072a7a;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.excerpt {
  color: #213048;
  margin-top: 10px;
}

.readmore {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  margin-top: 30px;
}

.detail-cover {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 12px;
  margin: 14px 0;
}

.comments .comment-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fbfeff, #ffffff);
  margin-bottom: 8px;
  border-left: 4px solid rgba(11, 102, 255, 0.06);
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 18px rgba(11, 102, 255, 0.04);
}

.comment-main {
  flex: 1;
}

.comment-head {
  font-weight: 700;
  color: #072a7a;
}

.comment-children {
  margin-left: 58px;
  margin-top: 8px;
}

textarea,
input,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6f0ff;
  margin-top: 8px;
}

.centerbox {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64vh;
}

.auth-card {
  width: 420px;
}

.alert {
  background: #fff4f6;
  color: #9a1f2a;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  border-bottom: 1px solid #eef6ff;
  text-align: left;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .main-grid {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }

  .nav {
    width: 100%;
    right: -100%;
  }

  .nav.open {
    right: 0;
  }

  .thumb img {
    width: 100%;
    height: 220px;
  }
}



 /* Tombol elegan */
  .button-container {
    display: flex;
    gap: 30px;
  }

  .btn23 {
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(45deg, #ff69b4, #ff4500);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.7), 0 0 40px rgba(255, 69, 0, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }

  .btn23:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 105, 180, 0.9), 0 0 60px rgba(255, 69, 0, 0.7);
  }

  /* Tombol berbeda untuk home */
  .btn23-home {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.7), 0 0 40px rgba(30, 144, 255, 0.5);
  }

  .btn23-home:hover {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.9), 0 0 60px rgba(30, 144, 255, 0.7);
  }
