.welcome-text {
  font-size: 1rem;
  opacity: 0.9;
}

.user-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
}

.event-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.event-meta {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0.3rem 0 0.6rem;
}
/* Cheerful "Ikut Sekarang" Button — Sesuai Tema Soft Blue & Pink */
.btn-cheerful {
  background: linear-gradient(135deg, #FEEBF6, #caffbf) !important; /* Sesuai --primary-gradient */
  color: #2d2d44 !important; /* Teks gelap agar readable (karena warna latar terang) */
  border: none !important;
  border-radius: 12px !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  box-shadow: 0 4px 12px rgba(162, 210, 255, 0.35) !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

.btn-cheerful:hover {
  background: linear-gradient(135deg, #EBD6FB, #FEEBF6) !important; /* Sedikit lebih jenuh */
  box-shadow: 0 6px 16px rgba(162, 210, 255, 0.5) !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.btn-cheerful:focus,
.btn-cheerful:active {
  outline: none !important;
  box-shadow: 0 0 0 0.2rem rgba(162, 210, 255, 0.4) !important;
}

/* Event Carousel */
.event-carousel {
  position: relative;
  padding-bottom: 2rem;
}

.carousel-wrapper {
  scroll-behavior: smooth;
}

.carousel-track {
  transition: transform 0.4s ease;
  min-height: 320px; /* Sesuaikan jika perlu */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 10;
  transition: all 0.2s;
}

.carousel-btn:hover {
  background: white;
  color: var(--soft-blue);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Slide item */
.carousel-slide {
  min-width: calc(50% - 0.75rem); /* 2 item per slide */
  display: flex;
  gap: 1.5rem;
}

.event-card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-banner,
.event-banner-placeholder {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #f8f9fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
  margin: 0.5rem 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-meta {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 0.4rem;
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-indicator.active {
  background: var(--soft-blue);
}

/* Mobile: 1 item per slide */
@media (max-width: 767px) {
  .carousel-slide {
    min-width: 100%;
  }
}

.btn-ghost-outline {
  background: transparent !important;
  color: var(--soft-blue) !important;
  border: 1px solid var(--soft-blue) !important;
  border-radius: 12px !important;
  padding: 0.4rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-ghost-outline:hover {
  background: rgba(162, 210, 255, 0.1) !important;
  color: var(--soft-blue) !important;
}

.event-item {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  margin-bottom: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s ease;
}

.event-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.event-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.event-banner {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.event-title {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0.5rem 0;
  color: #2d2d44;
}

.event-meta {
  font-size: 0.85rem;
  color: #6c757d;
  margin: 0.3rem 0 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-meta i {
  margin-right: 0.25rem;
  font-size: 0.9rem;
}

.event-price {
  margin: 0.5rem 0;
  display: inline-block;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Responsif: tombol ukuran kecil di mobile */
@media (max-width: 576px) {
  .event-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- TIPS LARI CARD --- */
.tips-card {
  padding: 1.25rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.tips-card h5 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tips-card .tips-intro {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tips-card ul {
  padding-left: 1.5rem;
  margin: 0;
  list-style-type: disc;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
}

.tips-card li {
  margin-bottom: 0.5rem;
}

/* Responsif: padding lebih kecil di mobile */
@media (max-width: 576px) {
  .tips-card {
    padding: 1rem;
  }
  .tips-card ul {
    padding-left: 1.25rem;
  }
}

/* === STYLE UNTUK HEADER EVENT TERBARU DAN TOMBOL LIHAT EVENT LAINNYA === */
.card.custom-card .d-flex.justify-content-between.align-items-center.mb-3 {
    padding: 0.5rem 0.75rem;
}

.card.custom-card .d-flex.justify-content-between.align-items-center.mb-3 h6 {
    font-size: 1rem !important;
    font-weight: 700;
    margin: 0;
    color: #2d2d44;
}

.card.custom-card .d-flex.justify-content-between.align-items-center.mb-3 .btn {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

/* Tombol "Lihat Event Lainnya" — Ungu Pastel */
.btn-outline-custom {
    color: #9b7dd4;
    border-color: #9b7dd4;
    background: transparent;
    border-radius: 15px;
    transition: all 0.25s ease;
}
.btn-outline-custom:hover {
    background: rgba(155, 125, 212, 0.1);
    color: #9b7dd4;
    border-color: #8a6bbd;
}
.btn-outline-custom:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(155, 125, 212, 0.25);
}