body:not(.gradient-mode),
html:not(.gradient-mode) {
  background: transparent !important;
  animation: none !important;
}

.bg-slideshow-container {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: -2 !important;
  overflow: hidden !important;
}

.bg-layer {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  opacity: 0;
  transition: opacity 2s ease-in-out !important;
}

.bg-layer.active {
  opacity: 1 !important;
}

.bg-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.4) !important;
  z-index: -1 !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

body.gradient-mode .bg-slideshow-container,
body.gradient-mode .bg-overlay {
  display: none !important;
}

.btn-toggle-bg {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-bg:hover {
  background: rgba(0, 221, 255, 0.4);
  border-color: #0df;
  transform: scale(1.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow: hidden;
  background: linear-gradient(-45deg, #0f1428, #350562, #47054e, #034803, #040843, #747003, #e62e04, #04ac92);
  background-size: 500% 500%;
  animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.wave-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.wave {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform-origin: center;
}

.wave-1 {
  animation: waveMove 20s linear infinite;
}

.wave-2 {
  animation: waveMove 25s linear infinite reverse;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
}

.wave-3 {
  animation: waveMove 30s linear infinite;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.wave-4 {
  animation: waveMove 35s linear infinite reverse;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
}

@keyframes waveMove {
  0% {
    transform: translateX(-50%) skewX(-5deg);
  }
  100% {
    transform: translateX(50%) skewX(-5deg);
  }
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}

.login-container {
  position: relative;
  z-index: 3;
  height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  animation: fadeSlideIn 2.5s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card,
.info-card,
.gallery-card {
  padding: 30px;
  min-height: 550px;
  height: 63%;
  width: 400px;
  flex-shrink: 0;
  flex-grow: 0;
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  background: #111;
  backdrop-filter: blur(14px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: #fff;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  transition: transform 700ms ease-in-out, opacity 700ms ease-in-out, box-shadow 150ms linear;
}

.login-card:hover,
.info-card:hover,
.gallery-card:hover {
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: -1;
  background: linear-gradient(-45deg, #0f1428, #350562, #47054e, #034803, #040843, #aca604);
  background-size: 400% 400%;
  border-radius: 24px;
  opacity: 0;
  animation: gradientFlow 8s ease infinite;
  transition: opacity 0.3s;
}

.login-card:hover .card-glow {
  opacity: 1;
}

.pos-left {
  transform: perspective(1000px) translateX(-105%) rotateY(15deg) scale(0.95);
  opacity: 0.85;
  z-index: 1;
}

.pos-center {
  transform: perspective(1000px) translateX(0%) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 2;
}

.pos-right {
  transform: perspective(1000px) translateX(105%) rotateY(-15deg) scale(0.95);
  opacity: 0.85;
  z-index: 1;
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
  text-align: left;
  font-size: 12px;
  line-height: 1.6;
}

.gallery-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 0px 0;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.info-item img {
  width: 60px;
  height: 60px;
  padding: 5px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.info-item p {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.login-header img {
  width: 150px;
  display: inline-block;
}

.logo-rotate {
  display: inline-block;
  perspective: 1000px;
}

.logo-rotate img {
  width: 120px;
  transform-style: preserve-3d;
  animation: rotateYLogo 9s linear infinite;
}

@keyframes rotateYLogo {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

.input-container {
  position: relative;
  margin-top: 12px;
}

.input-container input {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: box-shadow 0.25s;
}

.input-container input:focus {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.input-container label {
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.45);
  padding: 2px 6px;
  border-radius: 4px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.gradient-button {
  margin-top: 18px;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, #ffee754f, #69c5c2a8);
  color: #fff;
  font-size: 16px;
  transition: box-shadow 0.3s;
}

.gradient-button:hover {
  box-shadow: 0 0 10px rgba(255, 126, 179, 0.8), 0 0 20px rgba(255, 126, 179, 0.6), 0 0 30px rgba(255, 126, 179, 0.4), 0 0 40px rgba(255, 126, 179, 0.2);
  animation: neonPulse 1.5s infinite;
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 126, 179, 0.8), 0 0 20px rgba(255, 126, 179, 0.6), 0 0 30px rgba(255, 126, 179, 0.4), 0 0 40px rgba(255, 126, 179, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 126, 179, 1), 0 0 40px rgba(255, 126, 179, 0.8), 0 0 60px rgba(255, 126, 179, 0.6), 0 0 80px rgba(255, 126, 179, 0.4);
  }
}

.error-message {
  padding: 8px;
  margin-bottom: 8px;
  border-radius: 6px;
  background: rgba(255, 0, 0, 0.25);
  color: #fff;
  font-size: 13px;
}

.footer {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.wrapper {
  margin: 0 auto;
}

.media-body {
  width: auto !important;
  overflow: hidden;
  zoom: 1;
}

.media-list > .media {
  overflow: auto;
  position: relative;
  padding: 2px 1px;
}

.media:first-child {
  margin-top: 0;
}

.media-object {
  display: block;
}

.media-object.img-thumbnail {
  max-width: none;
}

.media-right,
.media > .pull-right {
  padding-left: 10px;
}

.media-left,
.media > .pull-left {
  padding-right: 10px;
}

.media-body,
.media-left,
.media-right {
  display: table-cell;
  vertical-align: top;
}

.media-middle {
  vertical-align: middle;
}

.media-bottom {
  vertical-align: bottom;
}

.media-heading {
  margin-top: 0;
  margin-bottom: 5px;
}

.media-list {
  padding-left: 0;
  list-style: none;
}

@media (max-width: 991px) {
  .login-container {
    flex-wrap: nowrap;
    overflow-x: hidden;
    gap: 0;
    transform: translateZ(0);
  }

  .login-card,
  .info-card,
  .gallery-card {
    position: absolute;
    width: 90vw;
    min-height: 500px;
    height: 80%;
    padding: 22px;
    transition: transform 700ms ease-in-out, opacity 700ms ease-in-out, box-shadow 150ms linear;
  }

  .pos-left {
    transform: perspective(1000px) translateX(-100vw) rotateY(15deg) scale(0.85);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
  }

  .pos-center {
    transform: perspective(1000px) translateX(0) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }

  .pos-right {
    transform: perspective(1000px) translateX(100vw) rotateY(-15deg) scale(0.85);
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .login-card,
  .info-card,
  .gallery-card {
    width: 95vw;
  }
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  margin: 15px 0;
  font-size: 12px;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.separator:not(:empty)::before {
  margin-right: 0.5em;
}

.separator:not(:empty)::after {
  margin-left: 0.5em;
}

.google-button {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: rgba(219, 68, 55, 0.85);
  color: #fff;
  font-size: 15px;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.google-button:hover {
  background: #db4437;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219, 68, 55, 0.4);
}

.google-button i {
  margin-right: 8px;
}

.btn-info-corner {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  outline: none;
}

.btn-info-corner:hover {
  color: #fff;
  transform: scale(1.1);
}

#infoModal .modal-content,
#infoModal .modal-body,
#infoModal .modal-header {
  background-color: #1a1a1a !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

#infoModal .close {
  text-shadow: none !important;
  color: #fff !important;
  opacity: 1 !important;
}

#infoModal p,
#infoModal strong {
  color: #ddd !important;
}

.scroll-kalender::-webkit-scrollbar {
  width: 4px;
}

.scroll-kalender::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-kalender::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.scroll-kalender::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.scroll-kalender {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

.scroll-linkterkait::-webkit-scrollbar {
  width: 4px;
}

.scroll-linkterkait::-webkit-scrollbar-track {
  background: transparent;
}

.scroll-linkterkait::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.scroll-linkterkait::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.scroll-linkterkait {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

@keyframes shakeError {
  0%,
  100% {
    margin-left: 0;
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    margin-left: -25px;
  }
  20%,
  40%,
  60%,
  80% {
    margin-left: 25px;
  }
}

.shake-animation {
  animation: shakeError 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
  border: 1px solid rgba(255, 0, 0, 0.8) !important;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.6) !important;
}

.btn-focus {
  position: fixed !important;
  bottom: 20px !important;
  right: 75px !important;
  top: auto !important;
  left: auto !important;
  background: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 20px !important;
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.btn-focus:hover {
  color: #fff !important;
  background: rgba(0, 221, 255, 0.3) !important;
  border-color: #0df !important;
  transform: scale(1.1) !important;
}

.btn-focus.active i {
  color: #f39c12;
  text-shadow: 0 0 10px rgba(243, 156, 18, 0.6);
}

.btn-focus.active i::before {
  content: "\f06e";
}

body.focus-mode .login-container {
  gap: 0;
}

body.focus-mode .gallery-card,
body.focus-mode .info-card {
  opacity: 0 !important;
  visibility: hidden;
  transform: perspective(1000px) scale(0.5) !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  flex: 0 0 0 !important;
  transition: all 0.6s ease-in-out !important;
}

body.focus-mode .login-card {
  width: 90vw !important;
  max-width: 600px;
  height: 70vh;
  transition: all 0.6s ease-in-out !important;
}

body.focus-mode .input-container label {
  font-size: 14px;
}

body.focus-mode .input-container input {
  font-size: 16px;
  padding: 15px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-item {
  opacity: 0;
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.35s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.65s;
}

.delay-5 {
  animation-delay: 0.8s;
}

.delay-6 {
  animation-delay: 0.95s;
}

.login-card {
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 150deg,
    #0df 180deg,
    transparent 210deg,
    transparent 360deg
  );
  top: -25%;
  left: -25%;
  animation: rotateHologram 12s linear infinite;
  z-index: -1;
}

.login-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #111;
  border-radius: 18px;
  z-index: -1;
}

@keyframes rotateHologram {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.badge-login-berlangsung {
  background-color: #fbc02d;
  color: #000;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(251, 192, 45, 0.4);
  vertical-align: middle;
}