/* ==================== MODERN SECTION SPACING ==================== */
.section-modern {
  padding: 5rem 0;
  position: relative;
  transition: background-color 0.3s ease;
}

@media (max-width: 991.98px) {
  .section-modern {
    padding: 3.5rem 0;
  }
}

@media (max-width: 767.98px) {
  .section-modern {
    padding: 2.5rem 0;
  }
}

/* Section Dividers - Subtle */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--bs-border-color) 20%,
    var(--bs-border-color) 80%,
    transparent
  );
  margin: 0;
  opacity: 0.5;
}

[data-bs-theme="dark"] .section-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent
  );
}

/* Alternate Backgrounds */
.section-alt-bg {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--bs-primary-rgb), 0.015) 50%,
    transparent 100%
  );
}

[data-bs-theme="dark"] .section-alt-bg {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.015) 50%,
    transparent 100%
  );
}

/* Section Headers Modern */
.section-header-modern {
  margin-bottom: 3rem;
  position: relative;
}

.section-header-modern .section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header-modern h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header-modern p {
  font-size: 1.05rem;
  opacity: 0.8;
}

@media (max-width: 767.98px) {
  .section-header-modern {
    margin-bottom: 2rem;
  }
  .section-header-modern h2 {
    font-size: 1.75rem;
  }
  .section-header-modern p {
    font-size: 0.95rem;
  }
}

/* ==================== HERO SLIDER - DESKTOP (FULL SCREEN) ==================== */

/* Hero Slider Container - FULL SCREEN pada Desktop */
.hero-slider {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  z-index: 1;
}

/* Swiper Container */
.hero-slider .swiper {
  width: 100%;
  height: 100%;
}

/* Swiper Slide */
.hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* Slide Images - FULL SCREEN pada Desktop */
.hero-slider .swiper-slide img {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6);
  transform: scale(1);
  transition: transform 10s ease;
  display: block;
}

/* Active Slide Zoom Effect */
.hero-slider .swiper-slide-active img {
  transform: scale(1.08);
}

/* Hero Overlay Gradient */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  z-index: 2;
}

/* Hero Content */
.hero-content {
  color: white;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 1.2s ease;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow:
    3px 5px 15px rgba(0, 0, 0, 0.8),
    1px 2px 5px rgba(0, 0, 0, 0.6);
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  text-shadow:
    2px 3px 10px rgba(0, 0, 0, 0.7),
    1px 1px 5px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  line-height: 1.6;
  max-width: 800px;
  color: #f5f5f5;
}

.hero-content .btn {
  padding: 0.875rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-content .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Swiper Navigation Buttons */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

/* Swiper Pagination */
.hero-slider .swiper-pagination {
  bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 991.98px) {
  .hero-slider {
    height: 100vh;
    min-height: 600px;
  }

  .hero-slider .swiper-slide img {
    height: 100vh;
    min-height: 600px;
  }

  .hero-overlay {
    padding-bottom: 60px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
  }

  .hero-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
  }

  .hero-content .btn {
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    width: 45px;
    height: 45px;
  }

  .hero-slider .swiper-button-next:after,
  .hero-slider .swiper-button-prev:after {
    font-size: 18px;
  }
}

/* ==================== MOBILE - ROUNDED CONTAINER STYLE (GSC Mobile Style) ==================== */
@media (max-width: 768px) {
  /* Hero Slider - Container dengan padding untuk rounded effect */
  .hero-slider {
    height: auto;
    min-height: auto;
    padding: 1rem;
    background: transparent;
    margin-bottom: 0; /* Remove extra spacing */
  }

  /* Swiper wrapper dengan padding */
  .hero-slider .swiper {
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  /* Slide Container - Rounded dengan aspect ratio */
  .hero-slider .swiper-slide {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 11;
    border-radius: 20px;
    overflow: hidden;
  }

  /* Slide Images - Cover penuh dalam rounded container */
  .hero-slider .swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.65);
    transform: scale(1);
    border-radius: 20px;
  }

  /* Disable zoom effect on mobile */
  .hero-slider .swiper-slide-active img {
    transform: scale(1);
  }

  /* Hero Overlay - Adjusted for rounded container */
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.2) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    padding-bottom: 3.5rem;
    border-radius: 20px;
  }

  /* Hero Content - Mobile */
  .hero-content {
    padding: 0;
    width: 100%;
    animation: fadeInUp 0.8s ease;
  }

  .hero-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.3px;
    font-weight: 700;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.8);
  }

  .hero-content p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
  }

  .hero-content .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    border-radius: 50px;
  }

  /* Hide navigation arrows on mobile */
  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    display: none;
  }

  /* Pagination - Position inside rounded container */
  .hero-slider .swiper-pagination {
    bottom: 12px;
    left: 0;
    right: 0;
    z-index: 3;
  }

  .hero-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
  }

  .hero-slider .swiper-pagination-bullet-active {
    width: 20px;
    background: #fff;
    border-radius: 3px;
  }
}

/* ==================== MOBILE SMALL - Smaller Rounded Container ==================== */
@media (max-width: 576px) {
  .hero-slider {
    padding: 0.875rem;
  }

  .hero-slider .swiper {
    border-radius: 18px;
  }

  .hero-slider .swiper-slide {
    aspect-ratio: 16 / 12;
    border-radius: 18px;
  }

  .hero-slider .swiper-slide img {
    border-radius: 18px;
  }

  .hero-overlay {
    padding: 1.25rem;
    padding-bottom: 3rem;
    border-radius: 18px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 0.375rem;
  }

  .hero-content p {
    font-size: 0.8rem;
    margin-bottom: 0.875rem;
    -webkit-line-clamp: 2;
  }

  .hero-content .btn {
    padding: 0.45rem 1.125rem;
    font-size: 0.8rem;
  }

  .hero-slider .swiper-pagination {
    bottom: 10px;
  }

  .hero-slider .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
  }

  .hero-slider .swiper-pagination-bullet-active {
    width: 18px;
  }
}

/* ==================== LANDSCAPE MODE (Mobile) ==================== */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-slider {
    padding: 0.75rem;
  }

  .hero-slider .swiper-slide {
    aspect-ratio: 16 / 9;
  }

  .hero-overlay {
    padding: 1rem;
    padding-bottom: 2.5rem;
  }

  .hero-content h1 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  .hero-content p {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    -webkit-line-clamp: 1;
  }

  .hero-content .btn {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
}

/* ==================== iOS Safari Fix ==================== */
@supports (-webkit-touch-callout: none) {
  @media (min-width: 769px) {
    .hero-slider {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
    }

    .hero-slider .swiper-slide img {
      height: -webkit-fill-available;
      min-height: -webkit-fill-available;
    }
  }
}

/* ==================== ACCESSIBILITY ==================== */

/* Focus states for navigation */
.hero-slider .swiper-button-next:focus,
.hero-slider .swiper-button-prev:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-slider .swiper-slide img {
    transition: none;
    transform: none;
  }

  .hero-slider .swiper-slide-active img {
    transform: none;
  }

  .hero-content {
    animation: none;
  }

  .hero-slider .swiper-button-next,
  .hero-slider .swiper-button-prev {
    transition: none;
  }
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */

/* GPU acceleration */
.hero-slider .swiper-slide img,
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  will-change: transform;
}

/* Prevent text selection during slide transitions */
.hero-content {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Re-enable text selection after animation */
.hero-slider .swiper-slide-active .hero-content {
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* ==================== WEATHER WIDGET ==================== */
.weather-widget-section {
  padding: 2rem 0;
  background-color: var(--bs-body-bg);
  transition: background-color 0.3s ease;
  margin-top: 0;
}

.weather-widget-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.weatherwidget-io {
  width: 100% !important;
  max-width: 1200px;
}

/* Mobile: Remove excess spacing */
@media (max-width: 768px) {
  .weather-widget-section {
    padding: 1.5rem 0;
    margin-top: 0;
  }
}

/* ==================== NEWS CARDS ==================== */
.news-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  background: #fff;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.news-card img {
  transition: transform 0.6s ease;
}
.news-card:hover img {
  transform: scale(1.08);
}

/* Main News Card (Kiri Besar) - COMPLETE FIX */
.news-card-main {
  height: 100%;
  min-height: 600px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  display: flex;
  flex-direction: column;
}

.news-card-main .image-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 600px;
  overflow: hidden;
  background: #000;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
}

.news-card-main .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.news-card-main .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.7) 70%,
    transparent 100%
  );
  color: white;
  padding: 2.5rem !important;
  z-index: 2;
  margin: 0;
  border-radius: 0;
}

.news-card-main .card-title {
  color: white !important;
  font-size: 1.75rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.news-card-main .card-title a {
  color: white !important;
}
.news-card-main .card-title a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}
.news-card-main .card-text {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1rem;
}
.news-card-main small {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Side News Cards (Kanan 4 Kecil) - COMPLETE FIX */
.news-card-side {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  height: 100%;
}

.news-card-side:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateX(5px);
}

.news-card-side .row {
  margin: 0 !important;
  height: 100%;
  min-height: 140px;
}

.news-card-side .col-5 {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: stretch;
}

.news-card-side .col-7 {
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.news-card-side .image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  overflow: hidden;
  background: #f0f0f0;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: block;
}

.news-card-side .image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.news-card-side .card-body {
  padding: 1rem 1.25rem !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.news-card-side .card-body h6 {
  margin-bottom: 0.5rem !important;
  line-height: 1.4;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-side .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Category Badge Modern */
.news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==================== BREAKING NEWS TICKER ==================== */
.breaking-news-ticker {
  background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
  color: white;
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
  position: relative;
  z-index: 1;
}
.breaking-news-ticker marquee {
  font-weight: 500;
  font-size: 0.95rem;
}

/* ==================== EVENT CARDS - FULL IMAGE STYLE ==================== */
.event-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  background: #fff;
  padding: 0 !important;
  position: relative;
  height: 100%;
  cursor: pointer;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Event Card Past (untuk event yang sudah selesai) */
.event-card-past {
  opacity: 0.85;
}

.event-card-past:hover {
  opacity: 1;
}

/* Wrapper link untuk clickable card */
.event-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 420px;
  background: #f0f0f0;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.event-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.6s ease;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  border: none !important;
  border-radius: 0 !important;
}

.event-card:hover .event-image-wrapper img {
  transform: scale(1.08);
}

/* Overlay untuk event yang sudah selesai */
.event-past-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Badge Selesai - Glass Frost di Tengah */
.event-badge-finished {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
}

/* Status Badge Kecil (Akan Datang/Berlangsung) - Tetap di pojok kiri atas */
.event-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Badge Berlangsung dengan animasi */
.event-badge-live {
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.8);
  }
}

/* Sembunyikan semua elemen card-body dan info text */
.event-card .card-body,
.event-card .card-title,
.event-card .card-text,
.event-card .event-meta,
.event-card .btn {
  display: none !important;
}

/* Date Badge - Sembunyikan */
.event-date-badge {
  display: none !important;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== SWIPER CUSTOM ==================== */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}
.swiper-button-next,
.swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
  color: #fff;
  font-weight: bold;
}

/* ==================== DARK MODE ==================== */

/* Background Sections Dark Mode */
[data-bs-theme="dark"] .bg-body {
  background-color: #1e1e2d !important;
}

[data-bs-theme="dark"] .bg-body-secondary {
  background-color: #161623 !important;
}

/* News Cards Dark Mode */
[data-bs-theme="dark"] .news-card-side {
  background: #2b2c40;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .news-card-side:hover {
  background: #32334a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .news-card-side .image-wrapper {
  background: #1a1a2e;
}

[data-bs-theme="dark"] .news-card-side .card-body h6 a {
  color: #e7e7ff !important;
}

[data-bs-theme="dark"] .news-card-side .card-body h6 a:hover {
  color: #b4b5ff !important;
}

[data-bs-theme="dark"] .news-card-side .text-body-secondary {
  color: #a5a5ba !important;
}

[data-bs-theme="dark"] .news-card,
[data-bs-theme="dark"] .news-card-grid {
  background: #2b2c40;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .news-card:hover,
[data-bs-theme="dark"] .news-card-grid:hover {
  background: #32334a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Event Cards Dark Mode */
[data-bs-theme="dark"] .event-card {
  background: #2b2c40;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

[data-bs-theme="dark"] .event-card:hover {
  background: #32334a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

[data-bs-theme="dark"] .event-image-wrapper {
  background: #1a1a2e;
}

[data-bs-theme="dark"] .event-badge-finished {
  background: rgba(43, 44, 64, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Text Colors Dark Mode */
[data-bs-theme="dark"] .text-heading {
  color: #e7e7ff !important;
}

[data-bs-theme="dark"] .text-muted {
  color: #a5a5ba !important;
}

/* ==================== RESPONSIVE - CONTINUATION ==================== */

/* Large Desktop */
@media (min-width: 1400px) {
  .news-card-main {
    min-height: 700px;
  }
  .news-card-main .image-wrapper {
    min-height: 700px;
  }
}

/* Desktop */
@media (min-width: 1200px) and (max-width: 1399px) {
  .news-card-main {
    min-height: 650px;
  }
  .news-card-main .image-wrapper {
    min-height: 650px;
  }
}

/* Tablet */
@media (min-width: 992px) and (max-width: 1199px) {
  .news-card-main {
    min-height: 550px;
  }
  .news-card-main .image-wrapper {
    min-height: 550px;
  }
  .news-card-side .image-wrapper {
    min-height: 130px;
  }
  .event-image-wrapper {
    min-height: 260px;
  }
}

/* Small Tablet */
@media (max-width: 991px) {
  .news-card-main {
    min-height: 500px;
  }
  .news-card-main .image-wrapper {
    min-height: 500px;
  }
  .news-card-main .card-body {
    padding: 2rem !important;
  }
  .event-image-wrapper {
    min-height: 240px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  /* News Main Card */
  .news-card-main {
    min-height: 400px;
    margin-bottom: 1rem;
  }
  .news-card-main .image-wrapper {
    min-height: 400px;
  }
  .news-card-main .card-body {
    padding: 1.5rem !important;
  }
  .news-card-main .card-title {
    font-size: 1.35rem;
  }

  /* Hide description on mobile for main news card */
  .news-card-main .card-text {
    display: none;
  }

  /* News Side Cards - Stack Vertically on Mobile */
  .news-card-side {
    margin-bottom: 1rem;
  }
  .news-card-side .row {
    flex-direction: row !important;
    min-height: 120px;
  }
  .news-card-side .col-5 {
    flex: 0 0 40% !important;
    max-width: 40% !important;
  }
  .news-card-side .col-7 {
    flex: 0 0 60% !important;
    max-width: 60% !important;
  }
  .news-card-side .image-wrapper {
    min-height: 120px;
    height: 100%;
  }
  .news-card-side .card-body {
    padding: 0.75rem 1rem !important;
  }
  .news-card-side .card-body h6 {
    font-size: 0.9rem;
    margin-bottom: 0.25rem !important;
  }
  .news-card-side .card-body p {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }

  /* Events */
  .event-image-wrapper {
    min-height: 220px;
  }

  .event-badge {
    font-size: 0.65rem;
    padding: 5px 10px;
  }

  .event-badge-finished {
    font-size: 0.9rem;
    padding: 0.875rem 1.5rem;
  }

  /* Section Header Mobile - Center align and hide button */
  .section-py .row.mb-6 {
    margin-bottom: 2rem !important;
  }

  .section-py .d-flex.justify-content-between {
    justify-content: center !important;
    text-align: center;
  }

  .section-py .d-flex.justify-content-between > div {
    text-align: center;
  }

  /* Hide button in header on mobile for both sections */
  .section-py .row.mb-6 .d-flex.justify-content-between .btn {
    display: none;
  }

  .section-py .d-flex.justify-content-between > div h2 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem !important;
  }

  .section-py .d-flex.justify-content-between > div p {
    font-size: 0.9rem;
  }
}

/* Mobile Small */
@media (max-width: 576px) {
  .news-card-main {
    min-height: 350px;
  }
  .news-card-main .image-wrapper {
    min-height: 350px;
  }
  .news-card-main .card-body {
    padding: 1.25rem !important;
  }
  .news-card-main .card-title {
    font-size: 1.2rem;
  }

  /* Keep description hidden */
  .news-card-main .card-text {
    display: none;
  }

  .news-card-side .image-wrapper {
    min-height: 110px;
  }
  .news-card-side .card-body h6 {
    font-size: 0.85rem;
  }
  .news-card-side .card-body p {
    font-size: 0.7rem;
  }

  .event-image-wrapper {
    min-height: 200px;
  }

  .event-badge-finished {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  /* Section Header for small mobile */
  .section-py .d-flex.justify-content-between > div h2 {
    font-size: 1.3rem;
  }

  .section-py .d-flex.justify-content-between > div p {
    font-size: 0.85rem;
  }
}

/* ==================== LAPORKAN NOMOR MENCURIGAKAN ==================== */
.laporkan-cta-wrap {
  position: relative;
  background: linear-gradient(135deg, #1565c0 0%, #0d47a1 50%, #0a2d6e 100%);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 200px;
  padding: 2.5rem 3rem;
  gap: 2rem;
}

.laporkan-cta-border {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 100%
  );
  z-index: 0;
}

.laporkan-lottie {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  position: relative;
  z-index: 2;
}

.laporkan-lottie lottie-player {
  width: 100%;
  height: 100%;
}

.laporkan-dots {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 120px;
  height: 80px;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}

.laporkan-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.laporkan-text h3 {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0.4rem 0 0.6rem;
  line-height: 1.3;
}

.laporkan-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}

.laporkan-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.25);
  border: 1px solid rgba(239, 68, 68, 0.5);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.75rem;
  color: #fca5a5;
  font-weight: 600;
}

.laporkan-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.laporkan-btn-primary {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.75rem !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(4px);
}

.laporkan-btn-primary:hover {
  background: rgba(255, 255, 255, 0.28) !important;
  border-color: #ffffff !important;
  transform: translateY(-2px);
}

.laporkan-btn-secondary {
  background: transparent !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  border-radius: 50px !important;
  padding: 0.6rem 1.75rem !important;
  font-weight: 500 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
  transition: all 0.3s ease !important;
}

.laporkan-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .laporkan-cta-wrap {
    padding: 2rem;
  }
  .laporkan-lottie {
    width: 140px;
    height: 140px;
  }
  .laporkan-text h3 {
    font-size: 1.35rem;
  }
}

@media (max-width: 767px) {
  .laporkan-cta-wrap {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .laporkan-lottie {
    width: 120px;
    height: 120px;
  }
  .laporkan-content {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }
  .laporkan-text p {
    max-width: 100%;
  }
  .laporkan-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .laporkan-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .laporkan-btn-primary,
  .laporkan-btn-secondary {
    width: 100% !important;
    text-align: center;
    justify-content: center;
  }
}

/* ==================== SPHERE TEAM RESPONSIVE ==================== */
#sphere-team-container {
  overflow: hidden;
  width: 100%;
}

#sphere-team {
  overflow: hidden;
  margin: 0 auto;
  display: block;
}

@media (min-width: 992px) {
  #sphere-team {
    width: 800px !important;
    height: 800px !important;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  #sphere-team {
    width: calc(100vw - 48px) !important;
    height: calc(100vw - 48px) !important;
  }
}

@media (max-width: 575.98px) {
  #sphere-team {
    width: calc(100vw - 32px) !important;
    height: calc(100vw - 32px) !important;
  }
}
