* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: white;
  color: #050816;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

.bg-glow {
  position: fixed;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at top left, #6a00ff15, transparent 35%),
    radial-gradient(circle at bottom right, #0077ff15, transparent 35%);
  z-index: -1;
}

.navbar {
  width: 90%;
  max-width: 1300px;
  margin: auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 180px;
}
.logo a {
  display: block;
  width: 100%;
}

.logo a img {
  display: block;
  width: 100%;
  height: auto;
}
nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #475569;
  text-decoration: none;
}

nav a:hover {
  color: #050816;
}

.btn-primary {
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  border: none;
  color: white;
  padding: 14px 26px;
  border-radius: 14px;
  cursor: pointer;
}

.btn-outline {
  background: white;
  border: 1px solid #d1d5db;
  color: #050816;
  padding: 14px 26px;
  border-radius: 14px;
}

.nav-btn {
  display: flex;
  gap: 10px;
}
.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-icon {
  width: 18px;
  height: 18px;
  display: block;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 500px;
}

.hero-left {
  max-width: 650px;
}

.badge {
  display: inline-block;
  border: 1px solid #5b44ff;
  background: #f5f3ff;
  color: #5b44ff;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #050816;
}

.hero h1 span {
  background: linear-gradient(90deg, #00c6ff, #b84cff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  color: #64748b;
  line-height: 1.8;
  font-size: 18px;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 20px;
}

.large {
  font-size: 18px;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.prompt-card {
  width: 450px;
  height: 450px;
  border-radius: 30px;
  padding: 0;
  background: white;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 50px rgba(79, 124, 255, 0.15);
}

.prompt-image {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.prompt-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.stat-box h3 {
  font-size: 42px;
  color: #050816;
}

.stat-box p {
  color: #64748b;
  font-size: 16px;
}

.section-title {
  text-align: center;
  margin-top: 100px;
  font-size: 50px;
  font-weight: 800;
  color: #050816;
}

.section-title span {
  color: #8b5cf6;
}

.section-subtitle {
  text-align: center;
  color: #64748b;
  margin-top: 15px;
}

.categories {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.category-card h4 {
  font-size: 16px;
}

.category-card p {
  color: #64748b;
  margin-top: 10px;
  font-size: 12px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.prompt-item {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}
.article-tag {
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 13px;
  color: white;
}

.green {
  background: #10b981;
}

.blue {
  background: #3b82f6;
}

.purple {
  background: #8b5cf6;
}

.prompt-item p {
  color: #475569;
  line-height: 1.8;
}

.feature-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: white;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.feature p {
  color: #64748b;
  margin-top: 10px;
}

.cta {
  text-align: center;
  margin: 70px 0;
}

.cta h2 {
  font-size: 52px;
  margin-bottom: 35px;
  color: #050816;
}

.cta-btn {
  padding: 18px 40px;
  font-size: 20px;
} /* ================= FOOTER ================= */

.footer {
  margin-top: 20px;
  border-top: 1px solid #e5e7eb;
  background: #fafbff;
}

.footer-content {
  padding: 60px 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}

.footer-brand img {
  width: 220px;
  margin-bottom: 20px;
}

.footer-brand p {
  color: #64748b;
  line-height: 1.8;
  max-width: 400px;
  font-size: 16px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: white;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  transition: 0.3s ease;
}

.social-links a svg {
  width: 22px;
  height: 22px;
}

.social-links a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(79, 124, 255, 0.12);
}
.social-links a:nth-child(1):hover {
  color: #2563eb; /* Website */
}

.social-links a:nth-child(2):hover {
  color: #1877f2; /* Facebook */
}

.social-links a:nth-child(3):hover {
  color: #000000; /* TikTok */
}

.social-links a:nth-child(4):hover {
  color: #e1306c; /* Instagram */
}

.social-links a:nth-child(5):hover {
  color: #000000; /* X/Twitter */
}
.footer-column h4 {
  margin-bottom: 20px;
  color: #050816;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-column a {
  color: #64748b;
  text-decoration: none;
  transition: 0.3s;
}

.footer-column a:hover {
  color: #5b44ff;
}

.footer-newsletter {
  margin-bottom: 60px;
  padding: 35px;
  border-radius: 24px;
  background: white;
  border: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.footer-newsletter h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.footer-newsletter p {
  color: #64748b;
}

.newsletter-form {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  width: 320px;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 15px;
}

.newsletter-form input:focus {
  border-color: #5b44ff;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 25px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
}

.footer-bottom-links a {
  text-decoration: none;
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: #5b44ff;
}

@media (max-width: 768px) {
  .footer-content {
    padding: 30px 0;
    grid-template-columns: 1fr;
  }
  .footer-brand img {
    width: 140px;
  }
  .footer-brand p {
    font-size: 14px;
  }
  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input {
    width: 100%;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
  }
}
/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  /* Navbar */
  .navbar {
    width: 92%;
    padding: 18px 0;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
  }

  .logo {
    width: 150px;
  }

  nav {
    width: 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  nav a {
    font-size: 14px;
  }

  .nav-btn button {
    padding: 10px 16px;
    font-size: 14px;
  }
  /* Hero */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    min-height: auto;
    padding: 5px 0;
  }

  .hero-left {
    max-width: 100%;
  }
  .badge {
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 12px;
    line-height: 1.7;
  }

  .hero-buttons {
    display: none;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons button {
    width: 100%;
  }

  .prompt-card {
    width: 100%;
    max-width: 360px;
    height: auto;
  }

  .prompt-image {
    height: auto;
  }

  .prompt-image img {
    height: auto;
    object-fit: contain;
  }

  /* Stats */
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-box {
    padding: 15px 10px;
  }

  .stat-box h3 {
    font-size: 18px;
  }
  .stat-box p {
    font-size: 14px;
  }

  /* Section */
  .section-title {
    font-size: 24px;
    margin-top: 25px;
  }

  .section-subtitle {
    font-size: 14px;
  }

  /* Categories */
  .categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
  }

  .category-card {
    padding: 10px;
  }

  .icon {
    font-size: 32px;
  }

  .category-card h4 {
    font-size: 14px;
  }
  /* Prompt Cards */
  .cards {
    grid-template-columns: 1fr;
    margin-top: 20px;
    gap: 15px;
  }

  /* Features */
  .feature-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  /* CTA */
  .cta {
    margin: 40px 0;
    padding: 0 20px;
  }

  .cta h2 {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
    font-size: 17px;
  }

  /* Footer */
  .footer-brand {
    text-align: center;
  }
  .footer-newsletter {
    display: grid;
    grid-template-columns: 1fr;
    padding: 25px;
    margin-bottom: 5px;
    text-align: center;
  }

  .footer-newsletter h3 {
    font-size: 18px;
  }

  .footer-column {
    display: none;
    text-align: center;
  }
  .social-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ================= EXTRA SMALL ================= */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 18px;
  }

  .badge {
    font-size: 13px;
    padding: 8px 14px;
  }

  .nav-btn button {
    flex: 1;
  }
}

/* BLOG HERO */

.blog-hero {
  text-align: center;
  padding: 20px 0;
}

.blog-hero h1 {
  font-size: 50px;
  max-width: 900px;
  margin: auto;
  line-height: 1.15;
}

.blog-hero h1 span {
  background: linear-gradient(90deg, #00c6ff, #b84cff);
  -webkit-background-clip: text;
  color: transparent;
}

.blog-hero p {
  max-width: 700px;
  margin: 25px auto 0;
  color: #64748b;
  line-height: 1.8;
}

/* TOOLBAR */

.blog-toolbar {
  margin-top: 40px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.blog-filters button {
  border: 1px solid #e5e7eb;
  background: white;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.blog-filters .active {
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  color: white;
}

/* FEATURED */

.featured-blog {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 35px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.featured-image {
  height: 450px;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  padding: 40px;
}

.featured-content h2 {
  margin: 20px 0;
  font-size: 34px;
}

.featured-content p {
  color: #64748b;
  line-height: 1.8;
  font-size: 16px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 30px;
  padding: 14px 24px;

  background: linear-gradient(90deg, #b12cff, #4f7cff);

  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 14px;

  transition: all 0.25s ease;
  box-shadow: 0 10px 25px rgba(91, 68, 255, 0.15);
}

.read-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(91, 68, 255, 0.25);
}

/* GRID */

.blog-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
}

.blog-body {
  padding: 24px;
}

.blog-category {
  color: #8b5cf6;
  font-size: 14px;
  font-weight: 600;
}

.blog-body h3 {
  margin: 15px 0;
  line-height: 1.4;
}

.blog-body p {
  color: #64748b;
}
.blog-body h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Maksimal 2 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-height: 1.4;
  min-height: calc(1.4em * 2); /* Tinggi tetap agar semua card sejajar */
}

.blog-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Maksimal 3 baris */
  -webkit-box-orient: vertical;
  overflow: hidden;

  line-height: 1.7;
  min-height: calc(1.7em * 3);
}
.blog-meta {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;

  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #94a3b8;
  font-size: 14px;
}

.blog-meta a,
.search-meta a {
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  color: #5b44ff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  transition: all 0.25s ease;
}

.blog-meta a:hover,
.search-meta a:hover {
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  border-color: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(91, 68, 255, 0.2);
}

.pagination {
  margin: 50px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Previous & Next */

.pagination button {
  background: white;
  border: 1px solid #e5e7eb;
  color: #475569;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.pagination button:hover {
  transform: translateY(-2px);
  border-color: #b12cff;
  color: #5b44ff;
  box-shadow: 0 10px 25px rgba(177, 44, 255, 0.12);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Number Pages */

.pages {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pages span {
  width: 46px;
  height: 46px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: white;
  color: #475569;
  font-weight: 600;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.25s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.pages span:hover {
  transform: translateY(-2px);
  border-color: #b12cff;
  color: #5b44ff;
  box-shadow: 0 10px 25px rgba(177, 44, 255, 0.12);
}

/* Active Page */

.pages .active {
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  color: white;
  border: none;
  box-shadow: 0 12px 30px rgba(91, 68, 255, 0.25);
}

.pages .active:hover {
  color: white;
  transform: translateY(-2px);
}

/* Mobile */

@media (max-width: 768px) {
  .pagination {
    gap: 15px;
  }

  .pagination button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .pages span {
    width: 42px;
    height: 42px;
  }
  .blog-body {
    padding: 15px;
  }
  .blog-hero h1 {
    font-size: 18px;
  }
  .blog-hero p {
    font-size: 12px;
  }
  .featured-blog {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    margin-top: 10px;
  }
}

/* SINGLE BLOG */

.single-blog {
  max-width: 900px;
  margin-top: 30px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  color: #94a3b8;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.breadcrumb a {
  text-decoration: none;
  color: #64748b;
}

.article-header {
  text-align: center;
}
.article-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;

  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  line-height: 1;
}

.article-meta span {
  display: flex;
  align-items: center;
}

.article-meta .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.article-meta span:not(.tag) {
  color: #64748b;
}

.article-meta span:nth-child(3) {
  color: #cbd5e1;
  font-weight: 700;
}

@media (max-width: 576px) {
  .article-meta {
    gap: 10px;
    font-size: 13px;
  }

  .article-meta .tag {
    padding: 5px 12px;
    font-size: 12px;
  }
}

.article-header h1 {
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.article-excerpt {
  color: #64748b;
  font-size: 18px;
  line-height: 1.8;
}

.article-cover {
  margin-top: 50px;
  overflow: hidden;
  height: 480px;
}

.article-cover img {
  margin: auto;
  height: 100%;
  border-radius: 30px;
  display: block;
}

.article-content {
  margin-top: 50px;
}

.article-content p {
  font-size: 14px;
  line-height: 2;
  color: #475569;
  margin-bottom: 25px;
}

.article-content h2 {
  margin: 45px 0 20px;
  font-size: 24px;
}

.article-content ul {
  padding-left: 25px;
  margin-bottom: 25px;
}

.article-content li {
  margin-bottom: 10px;
  font-size: 14px;
}

.callout {
  margin: 30px 0;
  padding: 25px;
  border-radius: 20px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #5b44ff;
  font-weight: 600;
}

.prompt-example {
  margin: 35px 0;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  overflow: hidden;
}

.prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: #f8fafc;
}

.prompt-head button {
  border: none;
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  color: white;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
}

.prompt-example pre {
  padding: 25px;
  overflow-x: auto;
  white-space: pre-wrap;
  line-height: 1.8;
  background: white;
}

.author-box {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
}

.author-box img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.author-box p {
  color: #64748b;
  margin-top: 10px;
}

.related-section {
  margin-top: 100px;
}

@media (max-width: 768px) {
  .article-header h1 {
    font-size: 18px;
  }

  .article-content h2 {
    font-size: 16px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }
}

/* Error */

.error-box {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 32px;
  padding: 60px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(79, 124, 255, 0.08);
}

.error-code {
  font-size: 140px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  -webkit-background-clip: text;
  color: transparent;
}

.error-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.error-desc {
  color: #64748b;
  line-height: 1.8;
  font-size: 17px;
  max-width: 500px;
  margin: auto;
}

.error-actions {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  text-decoration: none;
  background: linear-gradient(90deg, #b12cff, #4f7cff);
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  text-decoration: none;
  border: 1px solid #d1d5db;
  color: #050816;
  background: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
}

.error-icon {
  font-size: 70px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .error-box {
    padding: 40px 25px;
  }

  .error-code {
    font-size: 100px;
  }

  .error-title {
    font-size: 28px;
  }

  .error-desc {
    font-size: 15px;
  }
}

/* SEARCH */

.search-hero {
  text-align: center;
  padding: 20px 0;
}

.search-hero h1 {
  font-size: 50px;
  line-height: 1.15;
  margin-top: 20px;
}

.search-hero h1 span {
  background: linear-gradient(90deg, #00c6ff, #b84cff);
  -webkit-background-clip: text;
  color: transparent;
}

.search-hero p {
  max-width: 700px;
  margin: 20px auto 40px;
  color: #64748b;
  line-height: 1.8;
  font-size: 16px;
}

.search-box {
  max-width: 900px;
  margin: auto;

  display: flex;
  align-items: center;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 20px;

  padding: 10px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.search-icon {
  width: 24px;
  height: 24px;
  color: #94a3b8;
  margin: 0 18px;
}

.search-box input {
  flex: 1;

  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 17px;
}

.search-box button {
  border: none;

  padding: 16px 34px;

  border-radius: 14px;

  color: white;

  cursor: pointer;

  background: linear-gradient(90deg, #b12cff, #4f7cff);
}
.search-result-header {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 30px;

  flex-wrap: wrap;

  gap: 10px;
}

.search-result-header h2 {
  font-size: 34px;
}

.search-result-header span {
  color: #64748b;
  font-size: 18px;
}
.search-list {
  display: flex;

  flex-direction: column;

  gap: 24px;
}

.search-card {
  display: grid;

  grid-template-columns: 220px 1fr;

  gap: 30px;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 24px;

  overflow: hidden;

  transition: 0.3s;
}

.search-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.search-card img {
  width: 100%;
  height: 320px;

  object-fit: cover;
}

.search-content {
  padding: 25px;
}

.search-content h3 {
  margin: 15px 0;

  font-size: 28px;

  line-height: 1.4;
}

.search-content p {
  color: #64748b;

  font-size: 16px;
  line-height: 1.8;
}

.search-meta {
  margin-top: 25px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  color: #94a3b8;

  font-size: 14px;
}

@media (max-width: 768px) {
  .search-hero h1 {
    font-size: 18px;
  }
  .search-hero p {
    font-size: 12px;
  }
  .search-box {
    gap: 15px;

    padding: 15px;
  }

  .search-box input {
    width: 100%;
    padding: 0;
    font-size: 14px;
  }

  .search-box button {
    padding: 10px 20px;
  }

  .search-card {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .search-card img {
    height: 260px;
  }
  .search-content {
    padding: 10px;
  }

  .search-content h3 {
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;

    line-height: 1.4;
    min-height: calc(1.4em * 2); /* Tinggi tetap agar semua card sejajar */
  }
  .search-content p {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksimal 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.7;
    min-height: calc(1.7em * 3);
  }
  .search-meta {
    font-size: 14px;
  }
  .search-result-header {
    flex-direction: row;

    align-items: center;
  }
  .search-result-header h2 {
    font-size: 16px;
  }
  .search-result-header span {
    font-size: 12px;
  }
}
.empty-search {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
}

.empty-search h3 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.empty-search p {
  max-width: 500px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #64748b;
}

@media (max-width: 768px) {
  .empty-search {
    padding: 60px 24px;
  }

  .empty-search h3 {
    font-size: 16px;
  }

  .empty-search p {
    font-size: 12px;
  }

  .empty-search::before {
    width: 70px;
    height: 70px;
    font-size: 32px;
  }
}

/* =====================================================
   GALLERY HERO
===================================================== */

.gallery-hero {
  padding: 40px 0 20px;
  text-align: center;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;

  border: 1px solid #5b44ff;
  background: #f5f3ff;

  color: #5b44ff;

  border-radius: 999px;

  font-size: 14px;
  font-weight: 600;

  margin-bottom: 28px;
}

.gallery-hero h1 {
  font-size: 56px;
  line-height: 1.15;
  font-weight: 800;

  color: #050816;

  max-width: 900px;
  margin: auto;
}

.gallery-hero h1 span {
  background: linear-gradient(90deg, #00c6ff, #b84cff);

  -webkit-background-clip: text;

  color: transparent;
}

.gallery-hero p {
  max-width: 760px;

  margin: 24px auto 0;

  color: #64748b;

  line-height: 1.9;

  font-size: 17px;
}

/* =====================================================
   SEARCH
===================================================== */

.gallery-search {
  margin-top: 45px;
}

.gallery-search-box {
  max-width: 900px;

  margin: auto;

  display: flex;

  align-items: center;

  background: #fff;

  border: 1px solid #e5e7eb;

  border-radius: 22px;

  padding: 10px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.gallery-search-box svg {
  width: 24px;
  height: 24px;

  margin: 0 18px;

  stroke: #94a3b8;
  stroke-width: 2;
}

.gallery-search-box input {
  flex: 1;

  border: none;

  outline: none;

  font-size: 16px;

  padding: 0 15px;

  background: transparent;
}

.gallery-search-box input::placeholder {
  color: #94a3b8;
}

.gallery-search-box button {
  border: none;

  cursor: pointer;

  padding: 16px 34px;

  border-radius: 15px;

  color: #fff;

  font-weight: 600;

  background: linear-gradient(90deg, #b12cff, #4f7cff);

  transition: 0.25s;
}

.gallery-search-box button:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 30px rgba(91, 68, 255, 0.18);
}

/* =====================================================
   FILTER
===================================================== */

.gallery-filter {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 45px;
}

.gallery-filter a {
  text-decoration: none;

  color: #475569;

  background: #fff;

  border: 1px solid #e5e7eb;

  padding: 12px 20px;

  border-radius: 999px;

  font-size: 15px;

  font-weight: 500;

  transition: 0.25s;
}

.gallery-filter a:hover {
  transform: translateY(-2px);

  border-color: #b12cff;

  color: #5b44ff;

  box-shadow: 0 10px 25px rgba(91, 68, 255, 0.12);
}

.gallery-filter .active {
  background: linear-gradient(90deg, #b12cff, #4f7cff);

  color: #fff;

  border: none;

  box-shadow: 0 12px 30px rgba(91, 68, 255, 0.2);
}

/* =====================================================
   FEATURED IMAGE
===================================================== */

.featured-gallery {
  position: relative;

  overflow: hidden;

  margin-top: 55px;

  border-radius: 32px;

  background: #fff;

  border: 1px solid #e5e7eb;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.featured-gallery img {
  display: block;

  width: 100%;

  height: 620px;

  object-fit: cover;

  transition: 0.5s;
}

.featured-gallery:hover img {
  transform: scale(1.05);
}

.featured-gallery::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,
    rgba(5, 8, 22, 0.78),
    rgba(5, 8, 22, 0.2),
    transparent
  );
}

.featured-overlay {
  position: absolute;

  left: 50px;

  bottom: 50px;

  z-index: 2;

  max-width: 700px;

  color: #fff;
}

.featured-tag {
  display: inline-block;

  margin-bottom: 18px;

  padding: 8px 18px;

  border-radius: 999px;

  background: linear-gradient(90deg, #b12cff, #4f7cff);

  font-size: 14px;

  font-weight: 600;
}

.featured-overlay h2 {
  font-size: 44px;

  line-height: 1.15;

  margin-bottom: 15px;
}

.featured-overlay p {
  font-size: 18px;

  color: #e2e8f0;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
  .gallery-hero {
    padding: 15px 0;
  }

  .gallery-badge {
    font-size: 12px;

    margin-bottom: 15px;
  }

  .gallery-hero h1 {
    font-size: 26px;
  }

  .gallery-hero p {
    font-size: 13px;

    margin-top: 15px;
  }

  .gallery-search {
    margin-top: 25px;
  }

  .gallery-search-box {
    padding: 8px;
  }

  .gallery-search-box svg {
    width: 18px;
    height: 18px;

    margin: 0 10px;
  }

  .gallery-search-box input {
    font-size: 14px;

    padding: 0 5px;
  }

  .gallery-search-box button {
    padding: 12px 18px;

    font-size: 13px;
  }

  .gallery-filter {
    margin-top: 25px;

    justify-content: flex-start;

    overflow-x: auto;

    flex-wrap: nowrap;

    padding-bottom: 8px;

    scrollbar-width: none;
  }

  .gallery-filter::-webkit-scrollbar {
    display: none;
  }

  .gallery-filter a {
    white-space: nowrap;

    font-size: 13px;

    padding: 10px 16px;
  }

  .featured-gallery {
    margin-top: 30px;

    border-radius: 22px;
  }

  .featured-gallery img {
    height: 260px;
  }

  .featured-overlay {
    left: 20px;

    right: 20px;

    bottom: 20px;
  }

  .featured-tag {
    font-size: 11px;

    padding: 6px 12px;

    margin-bottom: 10px;
  }

  .featured-overlay h2 {
    font-size: 22px;

    margin-bottom: 8px;
  }

  .featured-overlay p {
    font-size: 13px;
  }
}
/* =====================================================
   GALLERY GRID
===================================================== */

.gallery-grid {
  margin-top: 60px;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 24px;
}

/* =====================================================
   CARD
===================================================== */

.gallery-card {
  position: relative;

  overflow: hidden;

  border-radius: 24px;

  background: #fff;

  border: 1px solid #e5e7eb;

  cursor: pointer;

  transition: 0.35s;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.gallery-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 22px 45px rgba(79, 124, 255, 0.12);
}

.gallery-card img {
  width: 100%;

  height: 380px;

  display: block;

  object-fit: cover;

  transition: 0.5s;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

/* =====================================================
   OVERLAY
===================================================== */

.gallery-card::before {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    to top,
    rgba(5, 8, 22, 0.85),
    rgba(5, 8, 22, 0.25),
    transparent
  );

  opacity: 0;

  transition: 0.35s;

  z-index: 1;
}

.gallery-card:hover::before {
  opacity: 1;
}

/* =====================================================
   INFO
===================================================== */

.gallery-info {
  position: absolute;

  left: 22px;

  right: 22px;

  bottom: 20px;

  z-index: 2;

  transform: translateY(20px);

  opacity: 0;

  transition: 0.35s;
}

.gallery-card:hover .gallery-info {
  opacity: 1;

  transform: translateY(0);
}

.gallery-info h3 {
  color: #fff;

  font-size: 22px;

  line-height: 1.35;

  margin-bottom: 10px;

  font-weight: 700;
}

.gallery-info span {
  display: inline-flex;

  align-items: center;

  padding: 8px 16px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(12px);

  color: #fff;

  font-size: 13px;

  font-weight: 600;
}

/* =====================================================
   OPTIONAL BADGE
===================================================== */

.gallery-card .gallery-badge-top {
  position: absolute;

  top: 18px;

  left: 18px;

  z-index: 2;

  padding: 8px 14px;

  border-radius: 999px;

  background: linear-gradient(90deg, #b12cff, #4f7cff);

  color: #fff;

  font-size: 12px;

  font-weight: 600;

  box-shadow: 0 10px 20px rgba(91, 68, 255, 0.2);
}

/* =====================================================
   FAVORITE BUTTON
===================================================== */

.gallery-like {
  position: absolute;

  top: 18px;

  right: 18px;

  z-index: 3;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(10px);

  transition: 0.3s;
}

.gallery-like:hover {
  background: #fff;

  transform: scale(1.08);
}

.gallery-like svg {
  width: 20px;

  height: 20px;

  stroke: #475569;
}

.gallery-like:hover svg {
  stroke: #b12cff;
}

/* =====================================================
   IMAGE RATIO
===================================================== */

/* .gallery-card:nth-child(3n) img {
  height: 520px;
}

.gallery-card:nth-child(4n) img {
  height: 300px;
}

.gallery-card:nth-child(5n) img {
  height: 450px;
}

.gallery-card:nth-child(7n) img {
  height: 600px;
} */

/* =====================================================
   LOAD MORE
===================================================== */

.gallery-load {
  text-align: center;

  margin-top: 70px;
}

.gallery-load button {
  min-width: 240px;
}

/* =====================================================
   HOVER ANIMATION
===================================================== */

.gallery-card {
  animation: galleryFade 0.6s ease both;
}

@keyframes galleryFade {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {
  .gallery-grid {
    margin-top: 30px;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
  }

  .gallery-card {
    border-radius: 18px;
  }

  .gallery-card img {
    height: 240px;
  }

  /* .gallery-card:nth-child(3n) img {
    height: 300px;
  }

  .gallery-card:nth-child(4n) img {
    height: 210px;
  }

  .gallery-card:nth-child(5n) img {
    height: 260px;
  }

  .gallery-card:nth-child(7n) img {
    height: 330px;
  } */

  .gallery-info {
    left: 14px;

    right: 14px;

    bottom: 14px;
  }

  .gallery-info h3 {
    font-size: 15px;

    margin-bottom: 6px;
  }

  .gallery-info span {
    font-size: 11px;

    padding: 6px 12px;
  }

  .gallery-like {
    width: 36px;

    height: 36px;

    top: 12px;

    right: 12px;
  }

  .gallery-like svg {
    width: 16px;

    height: 16px;
  }

  .gallery-card .gallery-badge-top {
    top: 12px;

    left: 12px;

    font-size: 10px;

    padding: 6px 10px;
  }

  .gallery-load {
    margin-top: 35px;
  }

  .gallery-load button {
    width: 100%;
  }
}

/* =====================================================
   EXTRA SMALL
===================================================== */

@media (max-width: 480px) {
  .gallery-grid {
    gap: 12px;
  }

  .gallery-card {
    border-radius: 16px;
  }

  /* .gallery-card img {
    height: 190px;
  } */

  /* .gallery-card:nth-child(3n) img {
    height: 240px;
  }

  .gallery-card:nth-child(4n) img {
    height: 170px;
  }

  .gallery-card:nth-child(5n) img {
    height: 220px;
  }

  .gallery-card:nth-child(7n) img {
    height: 260px;
  } */

  .gallery-info h3 {
    font-size: 13px;
  }

  .gallery-info span {
    font-size: 10px;
  }
}
/* =====================================================
   GALLERY CTA
===================================================== */

.gallery-cta {
  margin: 90px auto;

  padding: 70px 60px;

  text-align: center;

  border-radius: 32px;

  background: linear-gradient(135deg, #faf7ff, #f6f8ff);

  border: 1px solid #e5e7eb;

  box-shadow: 0 20px 60px rgba(79, 124, 255, 0.08);
}

.gallery-cta h2 {
  font-size: 48px;

  line-height: 1.2;

  color: #050816;

  margin-bottom: 22px;
}

.gallery-cta p {
  max-width: 720px;

  margin: auto;

  color: #64748b;

  line-height: 1.8;

  font-size: 17px;
}

.gallery-cta .btn-primary {
  margin-top: 35px;

  padding: 18px 36px;

  font-size: 18px;
}

/* =====================================================
   IMAGE TRANSITION
===================================================== */

.gallery-card img {
  backface-visibility: hidden;

  will-change: transform;
}

.gallery-card:hover {
  border-color: #d8d4fe;
}

/* =====================================================
   IMAGE SHADOW
===================================================== */

.gallery-card::after {
  content: "";

  position: absolute;

  inset: 0;

  border-radius: 24px;

  pointer-events: none;

  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* =====================================================
   FOCUS
===================================================== */

.gallery-card:focus-within {
  outline: none;

  box-shadow:
    0 0 0 4px rgba(91, 68, 255, 0.15),
    0 18px 45px rgba(91, 68, 255, 0.15);
}

/* =====================================================
   LOADING SKELETON
===================================================== */

.gallery-skeleton {
  position: relative;

  overflow: hidden;

  height: 360px;

  border-radius: 24px;

  background: #edf2f7;
}

.gallery-skeleton::before {
  content: "";

  position: absolute;

  inset: 0;

  transform: translateX(-100%);

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.65),
    transparent
  );

  animation: skeletonLoading 1.2s infinite;
}

@keyframes skeletonLoading {
  100% {
    transform: translateX(100%);
  }
}

/* =====================================================
   EMPTY GALLERY
===================================================== */

.gallery-empty {
  margin-top: 70px;

  padding: 80px 40px;

  text-align: center;

  background: #fff;

  border-radius: 30px;

  border: 1px solid #e5e7eb;
}

.gallery-empty h3 {
  font-size: 34px;

  margin-bottom: 16px;

  color: #050816;
}

.gallery-empty p {
  max-width: 520px;

  margin: auto;

  color: #64748b;

  line-height: 1.8;
}

/* =====================================================
   SECTION SPACING
===================================================== */

.gallery-search,
.gallery-filter,
.gallery-grid,
.gallery-load,
.gallery-cta {
  scroll-margin-top: 100px;
}

/* =====================================================
   SCROLL ANIMATION
===================================================== */

.gallery-card {
  animation: fadeGallery 0.6s ease;
}

@keyframes fadeGallery {
  from {
    opacity: 0;

    transform: translateY(25px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/* =====================================================
   BUTTON EFFECT
===================================================== */

.gallery-load .btn-primary {
  transition: 0.3s;
}

.gallery-load .btn-primary:hover {
  transform: translateY(-3px);
}

/* =====================================================
   HOVER CATEGORY
===================================================== */

.gallery-info span {
  transition: 0.25s;
}

.gallery-card:hover .gallery-info span {
  background: #ffffff;

  color: #5b44ff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
  .gallery-cta {
    margin: 50px auto;

    padding: 40px 25px;

    border-radius: 24px;
  }

  .gallery-cta h2 {
    font-size: 26px;
  }

  .gallery-cta p {
    font-size: 14px;

    margin-top: 15px;
  }

  .gallery-cta .btn-primary {
    width: 100%;

    margin-top: 25px;
  }

  .gallery-empty {
    padding: 50px 25px;
  }

  .gallery-empty h3 {
    font-size: 22px;
  }

  .gallery-empty p {
    font-size: 14px;
  }

  .gallery-skeleton {
    height: 220px;
  }
}

/* =====================================================
   EXTRA SMALL
===================================================== */

@media (max-width: 480px) {
  .gallery-cta {
    padding: 35px 20px;
  }

  .gallery-cta h2 {
    font-size: 22px;
  }

  .gallery-cta p {
    font-size: 13px;
  }

  .gallery-empty {
    padding: 40px 20px;
  }

  .gallery-empty h3 {
    font-size: 18px;
  }

  .gallery-empty p {
    font-size: 13px;
  }
}

/* =====================================================
   UTILITIES
===================================================== */

.gallery-hidden {
  display: none;
}

.gallery-center {
  text-align: center;
}

.gallery-mt {
  margin-top: 40px;
}

.gallery-radius {
  border-radius: 24px;
}

.gallery-shadow {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
