/*
|------/* About Me Section Styles
--------------------------------------------------------------------------*/
.aboutme-section {
  background: radial-gradient(ellipse at bottom, #000000 0%, #090a0f 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  /* Mengubah posisi menjadi relative */
  position: relative; 
  overflow: hidden;
  perspective: 1000px;
}

/* Star field effect */
.aboutme-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff 80%, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 60%, #fff 80%, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, #fff 80%, transparent 100%),
    radial-gradient(2px 2px at 50% 80%, #fff 80%, transparent 100%),
    radial-gradient(1px 1px at 60% 40%, #fff 80%, transparent 100%),
    radial-gradient(1.2px 1.2px at 30% 70%, #fff 80%, transparent 100%);
  background-repeat: repeat;
  background-size: 400px 400px;
  opacity: 0.5;
}

.aboutme-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1600px;
  gap: 2rem;
  padding: 0 2rem;
  position: relative;
  overflow: visible;
}

.aboutme-text {
  flex: 1;
  padding-left: 4rem;
  /* Memberikan jarak dari orbit */
  min-width: 500px;
  /* Memastikan teks tidak terlalu sempit */
  z-index: 3;
  /* Memastikan teks selalu di atas orbit */
}

.aboutme-text h3.glowing-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  text-align: left;
  display: inline-block;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  animation: title-glow 3s ease-in-out infinite;
}

.highlight-text {
  background: linear-gradient(120deg, #ff6b6b, #ff8c8c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}

/* .highlight-text::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(90deg, transparent, #ff6b6b, #ff8c8c, transparent);
  animation: line-flow 2s linear infinite;
} */

@keyframes title-glow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(255, 107, 107, 0.5),
      0 0 30px rgba(255, 107, 107, 0.3);
  }
}

@keyframes line-flow {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.aboutme-text h3.glowing-title::after {
  content: '_';
  position: relative;
  display: inline-block;
  color: #ff6b6b;
  animation: cursor-blink 1s step-start infinite;
  margin-left: 5px;
}

@keyframes cursor-blink {
  50% {
    opacity: 0;
  }
}

.intro-section {
  max-width: 900px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.text-block {
  position: relative;
  background: rgba(26, 26, 26, 0.4);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.text-block:hover {
  transform: translateY(-5px);
}

.right-align p {
  text-align: right;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #e0e0e0;
  padding: 30px;
  font-style: italic;
}

.left-align {
  padding: 40px;
  color: #e0e0e0;
  border-radius: 10px;
}

.left-align p {
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 0;
}

/* Corner decorations */
.corner {
  width: 25px;
  height: 25px;
  position: absolute;
  border: 2px solid rgba(255, 107, 107, 0.6);
  transition: border-color 0.3s ease;
}

.text-block:hover .corner {
  border-color: #ff6b6b;
}

.top-left {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.top-right {
  top: 10px;
  right: 10px;
  border-left: none;
  border-bottom: none;
}

.bottom-left {
  bottom: 10px;
  left: 10px;
  border-right: none;
  border-top: none;
}

.bottom-right {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

/* Responsive styles for intro section */
@media (max-width: 992px) {
  .intro-section {
    margin: 30px auto 0;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .intro-section {
    margin: 20px auto 0;
    gap: 30px;
  }

  .right-align p,
  .left-align p {
    text-align: justify;
    font-size: 1rem;
    padding: 25px;
  }

  .left-align {
    padding: 30px;
  }

  .corner {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 576px) {
  .intro-section {
    gap: 25px;
  }

  .right-align p,
  .left-align p {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 20px;
  }

  .left-align {
    padding: 25px;
  }
}

/* Animated Next Button Styles */
.button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.animated-button {
  display: flex;
  padding: 10px 45px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: white;
  background: #ff6b6b;
  transition: 0.3s;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7);
  transform: skewX(-15deg);
  position: relative;
  z-index: 10;
}

.animated-button:focus {
  outline: none;
}

.animated-button:hover {
  transition: 0.5s;
  box-shadow: 10px 10px 0 #2a2a2a;
}

.animated-button span {
  transform: skewX(15deg);
}

.animated-button .arrow-container {
  width: 20px;
  margin-left: 30px;
  position: relative;
  top: 12%;
  transition: 0.5s;
  margin-right: 0;
}

.animated-button:hover .arrow-container {
  margin-right: 45px;
}

/* SVG Arrow Animations */
.arrow-path {
  transition: 0.4s;
}

.arrow-path.one {
  transform: translateX(-60%);
}

.arrow-path.two {
  transform: translateX(-30%);
}

.animated-button:hover .arrow-path.one {
  transform: translateX(0%);
  animation: arrow_color 1s infinite 0.6s;
}

.animated-button:hover .arrow-path.two {
  transform: translateX(0%);
  animation: arrow_color 1s infinite 0.4s;
}

.animated-button:hover .arrow-path.three {
  animation: arrow_color 1s infinite 0.2s;
}

@keyframes arrow_color {
  0% {
    fill: white;
  }

  50% {
    fill: #2a2a2a;
  }

  100% {
    fill: white;
  }
}

@media (max-width: 768px) {
  .animated-button {
    font-size: 24px;
    padding: 8px 35px;
  }
}

@media (max-width: 576px) {
  .animated-button {
    font-size: 20px;
    padding: 6px 25px;
  }

  .animated-button .arrow-container {
    margin-left: 20px;
  }

  .animated-button:hover .arrow-container {
    margin-right: 25px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center,
      rgba(10, 10, 30, 0.85) 0%,
      rgba(5, 5, 20, 0.95) 100%);
  z-index: 1000;
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show {
  display: flex;
  opacity: 1;
  animation: modalShow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.show .modal-content {
  animation: contentReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes contentReveal {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes modalShow {
  0% {
    opacity: 0;
    backdrop-filter: blur(0px);
  }

  100% {
    opacity: 1;
    backdrop-filter: blur(8px);
  }
}

.modal-content {
  position: relative;
  background: linear-gradient(145deg,
      rgba(10, 10, 30, 0.9) 0%,
      rgba(5, 5, 20, 0.95) 100%);
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 247, 255, 0.3),
    0 0 60px rgba(0, 247, 255, 0.1),
    inset 0 0 20px rgba(0, 247, 255, 0.1);
  border: 1px solid var(--primary);
  overflow: hidden;
  transform: scale(0.95) translateY(30px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 107, 0.3) rgba(255, 255, 255, 0.05);
  animation: contentReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;

  /* High-tech border effect */
  background-clip: padding-box;
  border: 1px solid transparent;
}

/* High-tech gradient border animation */
.modal-content::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg,
      rgba(255, 107, 107, 0.3),
      rgba(255, 255, 255, 0.1),
      rgba(255, 107, 107, 0.3));
  border-radius: 20px;
  z-index: -1;
  animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
  0% {
    opacity: 0.5;
    background-position: 0% 50%;
  }

  50% {
    opacity: 0.8;
    background-position: 100% 50%;
  }

  100% {
    opacity: 0.5;
    background-position: 0% 50%;
  }
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 107, 0.3);
  border-radius: 4px;
  transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 107, 0.4);
}

@keyframes modal-glow {

  0%,
  100% {
    box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.5),
      0 5px 30px rgba(255, 107, 107, 0.2),
      inset 0 0 20px rgba(255, 107, 107, 0.1);
  }

  50% {
    box-shadow:
      0 25px 50px -12px rgba(0, 0, 0, 0.5),
      0 5px 40px rgba(255, 107, 107, 0.3),
      inset 0 0 30px rgba(255, 107, 107, 0.15);
  }
}

.modal.show .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@keyframes contentReveal {
  0% {
    transform: scale(0.95) translateY(30px);
    opacity: 0;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-content::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg,
      rgba(255, 107, 107, 0.5),
      rgba(255, 140, 140, 0.2),
      rgba(255, 107, 107, 0.1),
      rgba(255, 140, 140, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

@keyframes rainbow-line {
  0% {
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  }

  50% {
    background: linear-gradient(90deg, transparent, #ff8c8c, transparent);
  }

  100% {
    background: linear-gradient(90deg, transparent, #ff6b6b, transparent);
  }
}

.close-button {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--secondary);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 0 10px rgba(255, 0, 230, 0.3);
}

.close-button:hover {
  color: #fff;
  background: rgba(255, 107, 107, 0.15);
  border-color: rgba(255, 107, 107, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2);
}

.close-button:active {
  transform: translateY(0);
}

:root {
  --primary: #00f7ff;
  --secondary: #ff00e6;
}

.popup-header {
  background: linear-gradient(90deg, rgba(0, 247, 255, 0.1) 0%, rgba(255, 0, 230, 0.1) 100%);
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--primary);
  position: relative;
}

.popup-header::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  animation: scanline 3s linear infinite;
}

.popup-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 247, 255, 0.7);
  letter-spacing: 2px;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.popup-title::before {
  content: '>';
  margin-right: 10px;
  color: var(--secondary);
  animation: blink 1s step-end infinite;
}

.popup-body {
  padding: 25px;
  height: 60vh;
  overflow-y: auto;
  position: relative;
}

.modal-text {
  color: #e0e0e0;
  font-size: 1.1rem;
  line-height: 1.8;
  position: relative;
  padding: 1rem;
  background: linear-gradient(160deg,
      rgba(0, 247, 255, 0.05) 0%,
      transparent 100%);
  border-radius: 8px;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.modal-text b {
  color: var(--primary);
  font-weight: 700;
  text-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
}

.corner-decoration {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  animation: cornerGlow 4s linear infinite;
}

.corner-top-left {
  top: 0;
  left: 0;
  border-top-color: var(--primary);
  border-left-color: var(--primary);
  border-radius: 8px 0 0 0;
}

.corner-top-right {
  top: 0;
  right: 0;
  border-top-color: var(--secondary);
  border-right-color: var(--secondary);
  border-radius: 0 8px 0 0;
}

.corner-bottom-left {
  bottom: 0;
  left: 0;
  border-bottom-color: var(--secondary);
  border-left-color: var(--secondary);
  border-radius: 0 0 0 8px;
}

.corner-bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-color: var(--primary);
  border-right-color: var(--primary);
  border-radius: 0 0 8px 0;
}

@keyframes cornerGlow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

@keyframes scanline {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.close-button:hover {
  background: rgba(255, 0, 230, 0.2);
  transform: rotate(90deg);
}

/* Scrollbar styling */
.popup-body::-webkit-scrollbar {
  width: 6px;
}

.popup-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.popup-body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 3px;
}

.modal-text::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(160deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.03));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.modal-text p {
  position: relative;
  z-index: 1;
}

@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.modal-text p {
  margin: 0;
  text-align: justify;
}

.modal-text b {
  color: #ff6b6b;
}

/* Modal Scrollbar Styles */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 107, 0.5);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 107, 107, 0.7);
}

/* Modal Responsive Styles */
@media (max-width: 768px) {
  .modal-content {
    padding: 30px;
    width: 95%;
  }

  .modal-text {
    font-size: 1rem;
    line-height: 1.7;
  }
}

@media (max-width: 576px) {
  .modal-content {
    padding: 20px;
  }

  .close-button {
    right: 15px;
    top: 10px;
  }
}

/* Original aboutme-text p styles */
.aboutme-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #b0b0b0;
  text-align: justify;
  margin: 0;
}

/* Solar System Effect */
.aboutme-image-hover {
  position: relative;
  width: 600px;
  height: 600px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  /* Area orbit tidak bisa di-hover */
}

.aboutme-image-container {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 107, 107, 0.3);
  z-index: 2;
  transition: box-shadow 0.3s, transform 0.3s;
  pointer-events: auto;
  /* Hanya lingkaran gambar yang bisa di-hover */
  cursor: pointer;
}

/* Efek hover hanya pada gambar profil utama */
.aboutme-image-container:hover {
  box-shadow: 0 0 40px #ff6b6b, 0 0 0 6px rgba(255, 255, 255, 0.1);
  /* Hanya transisi smooth, tanpa scale */
}

.aboutme-profile-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
  border-radius: 50%;
}

.aboutme-profile-image.top {
  opacity: 1;
  z-index: 2;
}

.aboutme-profile-image.bottom {
  opacity: 0;
  z-index: 1;
}

/* Image hover effect */
.aboutme-image-container:hover .aboutme-profile-image.top {
  opacity: 0;
}

.aboutme-image-container:hover .aboutme-profile-image.bottom {
  opacity: 1;
}

/* Orbits */
.orbit {
  position: absolute;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

/* Custom orbit colors */
.orbit-1 {
  border-color: rgba(255, 87, 34, 0.2);
  box-shadow: 0 0 15px rgba(255, 87, 34, 0.1);
}

.orbit-2 {
  border-color: rgba(33, 150, 243, 0.2);
  box-shadow: 0 0 15px rgba(33, 150, 243, 0.1);
}

.orbit-3 {
  border-color: rgba(255, 235, 59, 0.2);
  box-shadow: 0 0 15px rgba(255, 235, 59, 0.1);
}

.orbit-4 {
  border-color: rgba(86, 61, 124, 0.2);
  box-shadow: 0 0 15px rgba(86, 61, 124, 0.1);
}

.orbit-5 {
  border-color: rgba(119, 123, 179, 0.2);
  box-shadow: 0 0 15px rgba(119, 123, 179, 0.1);
}

.orbit-6 {
  border-color: rgba(255, 45, 32, 0.2);
  box-shadow: 0 0 15px rgba(255, 45, 32, 0.1);
}

.orbit-7 {
  border-color: rgba(0, 120, 215, 0.2);
  box-shadow: 0 0 15px rgba(0, 120, 215, 0.1);
}

.orbit-8 {
  border-color: rgba(55, 118, 171, 0.2);
  box-shadow: 0 0 15px rgba(55, 118, 171, 0.1);
}

.orbit-9 {
  border-color: rgba(0, 89, 156, 0.2);
  box-shadow: 0 0 15px rgba(0, 89, 156, 0.1);
}

.orbit-10 {
  border-color: rgba(240, 80, 50, 0.2);
  box-shadow: 0 0 15px rgba(240, 80, 50, 0.1);
}

.orbit-11 {
  border-color: rgba(23, 135, 190, 0.2);
  box-shadow: 0 0 15px rgba(23, 135, 190, 0.1);
}

.orbit-12 {
  border-color: rgba(242, 78, 30, 0.2);
  box-shadow: 0 0 15px rgba(242, 78, 30, 0.1);
}

.orbit-13 {
  border-color: rgba(0, 198, 134, 0.2);
  box-shadow: 0 0 15px rgba(0, 198, 134, 0.1);
}

.orbit-14 {
  border-color: rgba(50, 205, 50, 0.2);
  box-shadow: 0 0 15px rgba(50, 205, 50, 0.1);
}

.orbit-15 {
  border-color: rgba(233, 84, 32, 0.2);
  box-shadow: 0 0 15px rgba(233, 84, 32, 0.1);
}

.orbit-16 {
  border-color: rgba(0, 117, 143, 0.2);
  box-shadow: 0 0 15px rgba(0, 117, 143, 0.1);
}

.orbit-1 {
  width: 280px;
  height: 280px;
  animation: orbit-spin 20s linear infinite;
}

.orbit-2 {
  width: 300px;
  height: 300px;
  animation: orbit-spin 22s linear infinite reverse;
}

.orbit-3 {
  width: 320px;
  height: 320px;
  animation: orbit-spin 24s linear infinite;
}

.orbit-4 {
  width: 340px;
  height: 340px;
  animation: orbit-spin 26s linear infinite reverse;
}

.orbit-5 {
  width: 360px;
  height: 360px;
  animation: orbit-spin 28s linear infinite;
}

.orbit-6 {
  width: 380px;
  height: 380px;
  animation: orbit-spin 30s linear infinite reverse;
}

.orbit-7 {
  width: 400px;
  height: 400px;
  animation: orbit-spin 32s linear infinite;
}

.orbit-8 {
  width: 420px;
  height: 420px;
  animation: orbit-spin 34s linear infinite reverse;
}

.orbit-9 {
  width: 440px;
  height: 440px;
  animation: orbit-spin 36s linear infinite;
}

.orbit-10 {
  width: 460px;
  height: 460px;
  animation: orbit-spin 38s linear infinite reverse;
}

.orbit-11 {
  width: 480px;
  height: 480px;
  animation: orbit-spin 40s linear infinite;
}

.orbit-12 {
  width: 500px;
  height: 500px;
  animation: orbit-spin 42s linear infinite reverse;
}

.orbit-13 {
  width: 520px;
  height: 520px;
  animation: orbit-spin 44s linear infinite;
}

.orbit-14 {
  width: 540px;
  height: 540px;
  animation: orbit-spin 46s linear infinite reverse;
}

.orbit-15 {
  width: 560px;
  height: 560px;
  animation: orbit-spin 48s linear infinite;
}

.orbit-16 {
  width: 580px;
  height: 580px;
  animation: orbit-spin 50s linear infinite reverse;
}

.orbit-17 {
  border-color: rgba(0, 247, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.1);
  width: 600px;
  height: 600px;
  animation: orbit-spin 52s linear infinite reverse;
}

/* Tech Icons as Planets */
.planet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: 50% 50%;
  pointer-events: auto;
  /* Pastikan planet bisa di-hover */
}

.tech-icon {
  width: 85%;
  height: 85%;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  margin: auto;
  pointer-events: auto;
  /* Pastikan gambar bisa di-hover */
}

.planet:hover .tech-icon,
.tech-icon:hover {
  transform: scale(1.3) !important;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) brightness(1.2);
}

/* Planet Animations with random starting positions */
.planet-1 {
  animation: planet-orbit 20s linear infinite;
  --orbit-duration: 20s;
  animation-delay: -2s;
}

.planet-2 {
  animation: planet-orbit 22s linear infinite reverse;
  --orbit-duration: 22s;
  animation-delay: -15s;
}

.planet-3 {
  animation: planet-orbit 24s linear infinite;
  --orbit-duration: 24s;
  animation-delay: -8s;
}

.planet-4 {
  animation: planet-orbit 26s linear infinite reverse;
  --orbit-duration: 26s;
  animation-delay: -4s;
}

.planet-5 {
  animation: planet-orbit 28s linear infinite;
  --orbit-duration: 28s;
  animation-delay: -12s;
}

.planet-6 {
  animation: planet-orbit 30s linear infinite reverse;
  --orbit-duration: 30s;
  animation-delay: -18s;
}

.planet-7 {
  animation: planet-orbit 32s linear infinite;
  --orbit-duration: 32s;
  animation-delay: -7s;
}

.planet-8 {
  animation: planet-orbit 34s linear infinite reverse;
  --orbit-duration: 34s;
  animation-delay: -25s;
}

.planet-9 {
  animation: planet-orbit 36s linear infinite;
  --orbit-duration: 36s;
  animation-delay: -16s;
}

.planet-10 {
  animation: planet-orbit 38s linear infinite reverse;
  --orbit-duration: 38s;
  animation-delay: -30s;
}

.planet-11 {
  animation: planet-orbit 40s linear infinite;
  --orbit-duration: 40s;
  animation-delay: -22s;
}

.planet-12 {
  animation: planet-orbit 42s linear infinite reverse;
  --orbit-duration: 42s;
  animation-delay: -5s;
}

.planet-13 {
  animation: planet-orbit 44s linear infinite;
  --orbit-duration: 44s;
  animation-delay: -28s;
}

.planet-14 {
  animation: planet-orbit 46s linear infinite reverse;
  --orbit-duration: 46s;
  animation-delay: -10s;
}

.planet-15 {
  animation: planet-orbit 48s linear infinite;
  --orbit-duration: 48s;
  animation-delay: -35s;
}

.planet-16 {
  animation: planet-orbit 50s linear infinite reverse;
  --orbit-duration: 50s;
  animation-delay: -20s;
}

.planet-17 {
  animation: planet-orbit 52s linear infinite reverse;
  --orbit-duration: 52s;
  animation-delay: -13s;
  --orbit-radius: 300px;
  --start-angle: 120deg;
}

/* Glow colors for tech icons */
.planet-1 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(255, 87, 34, 0.8));
}

/* HTML */
.planet-2 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(33, 150, 243, 0.8));
}

/* CSS */
.planet-3 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(255, 235, 59, 0.8));
}

/* JS */
.planet-4 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(86, 61, 124, 0.8));
}

/* Bootstrap */
.planet-5 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(119, 123, 179, 0.8));
}

/* PHP */
.planet-6 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(255, 45, 32, 0.8));
}

/* Laravel */
.planet-7 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(0, 117, 143, 0.8));
}

/* MySQL */
.planet-8 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(55, 118, 171, 0.8));
}

/* Python */
.planet-9 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(0, 89, 156, 0.8));
}

/* C++ */
.planet-10 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(240, 80, 50, 0.8));
}

/* Git */
.planet-11 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(23, 135, 190, 0.8));
}

/* WordPress */
.planet-12 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(242, 78, 30, 0.8));
}

/* Figma */
.planet-13 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(0, 198, 134, 0.8));
}

/* Canva */
.planet-14 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(50, 205, 50, 0.8));
}

/* CapCut */
.planet-15 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(233, 84, 32, 0.8));
}

/* Ubuntu */
.planet-16 .tech-icon {
  filter: drop-shadow(0 0 8px rgba(0, 120, 215, 0.8));
}

/* Windows */
.planet-17 .tech-icon {
  filter: drop-shadow(0 0 12px rgba(0, 247, 255, 0.9));
}

/* AI */

@keyframes orbit-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes planet-orbit {
  0% {
    transform:
      translate(-50%, -50%) rotate(0deg) translateX(var(--orbit-radius, 140px)) rotate(0deg);
  }

  100% {
    transform:
      translate(-50%, -50%) rotate(360deg) translateX(var(--orbit-radius, 140px)) rotate(-360deg);
  }
}

/* Counter-rotation untuk menjaga ikon menghadap ke depan */
.planet .tech-icon {
  animation: counter-spin var(--orbit-duration, 20s) linear infinite;
  animation-direction: inherit;
}

@keyframes counter-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* Set orbit radiuses and starting angles for each planet */
.planet-1 {
  --orbit-radius: 140px;
  --start-angle: 45deg;
}

.planet-2 {
  --orbit-radius: 150px;
  --start-angle: 160deg;
}

.planet-3 {
  --orbit-radius: 160px;
  --start-angle: 280deg;
}

.planet-4 {
  --orbit-radius: 170px;
  --start-angle: 30deg;
}

.planet-5 {
  --orbit-radius: 180px;
  --start-angle: 200deg;
}

.planet-6 {
  --orbit-radius: 190px;
  --start-angle: 90deg;
}

.planet-7 {
  --orbit-radius: 200px;
  --start-angle: 315deg;
}

.planet-8 {
  --orbit-radius: 210px;
  --start-angle: 135deg;
}

.planet-9 {
  --orbit-radius: 220px;
  --start-angle: 225deg;
}

.planet-10 {
  --orbit-radius: 230px;
  --start-angle: 70deg;
}

.planet-11 {
  --orbit-radius: 240px;
  --start-angle: 180deg;
}

.planet-12 {
  --orbit-radius: 250px;
  --start-angle: 270deg;
}

.planet-13 {
  --orbit-radius: 260px;
  --start-angle: 15deg;
}

.planet-14 {
  --orbit-radius: 270px;
  --start-angle: 100deg;
}

.planet-15 {
  --orbit-radius: 280px;
  --start-angle: 240deg;
}

.planet-16 {
  --orbit-radius: 290px;
  --start-angle: 300deg;
}

.aboutme-image-hover:hover .aboutme-profile-image.top {
  opacity: 0;
}

.aboutme-image-hover:hover .aboutme-profile-image.bottom {
  opacity: 1;
}

/* Responsive Styles
--------------------------------------------------------------------------*/
@media (max-width: 1400px) {
  .aboutme-container {
    max-width: 1200px;
  }

  .aboutme-image-hover {
    transform: scale(0.9);
    margin-left: -50px;
  }

  .aboutme-text {
    padding-left: 2rem;
  }
}

@media (max-width: 1200px) {
  .aboutme-container {
    max-width: 1000px;
  }

  .aboutme-image-hover {
    transform: scale(0.8);
    margin-left: -100px;
  }
}

@media (max-width: 992px) {
  .aboutme-container {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    padding: 4rem 2rem;
  }

  .aboutme-image-hover {
    transform: scale(0.8);
    margin: 0;
    padding: 2rem 0;
  }

  .aboutme-text {
    padding-left: 0;
    text-align: center;
    min-width: auto;
    margin-bottom: 2rem;
  }

  .aboutme-text h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .aboutme-image-hover {
    transform: scale(0.6);
  }

  .planet {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .aboutme-image-hover {
    transform: scale(0.5);
  }

  .aboutme-text h3 {
    font-size: 2rem;
  }

  .aboutme-text p {
    font-size: 0.95rem;
  }
}

/* Extended Media Queries */
@media (max-width: 480px) {
  .aboutme-image-hover {
    transform: scale(0.7);
  }

  .aboutme-text h3 {
    font-size: 1.75rem;
  }

  .aboutme-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Adjust planet sizes further for mobile */
  .planet {
    width: 20px;
    height: 20px;
  }
}

/* Media Queries */
@media (max-width: 1200px) {
  .aboutme-container {
    padding: 24px;
    max-width: 1100px;
  }
}

@media (max-width: 1024px) {
  .aboutme-container {
    max-width: 900px;
  }

  .aboutme-image-hover {
    transform: scale(0.9);
  }
}

@media (max-width: 900px) {
  .aboutme-container {
    max-width: 800px;
    padding: 20px;
  }

  .aboutme-image-hover {
    transform: scale(0.85);
  }

  .aboutme-text p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .aboutme-container {
    padding: 16px;
    gap: 1.5rem;
  }

  .aboutme-text h3 {
    font-size: 1.75rem;
  }

  .aboutme-text p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .planet {
    width: 22px;
    height: 22px;
  }
}