/* Global Styles */
body {
  font-family: 'Courier New', monospace; /* Menggunakan font monospace */
  margin: 0;
  padding: 0;
  background: #111; /* Warna latar belakang gelap */
  color: #33ff00; /* Teks hijau neon */
  justify-content: center;
  align-items: center;
  display: flex;
}

.ktr1 {
  display: none;
}

.background {
  background-color: #000; /* Latar belakang gelap */
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 900px;
  height: 3880px;
  border-radius: 30px;
  box-shadow: 0px 0px 10px rgba(0, 255, 0, 0.5); /* Efek cahaya hijau */
  overflow-x: hidden;
  overflow: hidden;
}

span {
  color: #33ff00;
}

header {
  color: #33ff00; /* Warna teks hijau neon */
  text-align: center;
  padding: 2rem 1rem;
}

header img {
    width: 200px;
    border-radius: 20%;
    animation: floating 3s ease-in-out infinite; /* Menambahkan animasi */
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px); /* Posisi atas */
    }
    100% {
        transform: translateY(0);
    }
}

.social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.social div {
  cursor: pointer;
}

.social .x img {
  border-radius: 50%;
}


.background .project-detail {
    margin-bottom: 5rem;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.project-detail .card {
  background: #222; /* Warna latar belakang gelap untuk card */
  border-radius: 30px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); /* Efek cahaya hijau */
}

.background .project-detail .card h2 {
  margin-top: 0.5rem;
}

.background .project-detail .card p {
    margin-bottom: -1rem;
}

.project-detail .card .content1 {
    margin-top: 2rem;
}

.highlight-background {
  background-color: #4e963c !important;
}

.project-detail .card #play-button {
  margin-top: 2rem;
    font-size: 1rem;
    background-color: #33ff00; /* Hijau neon untuk tombol */
    color: #000;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.project-detail .card #play-button:hover {
  background-color: #28a745;
}

/* Works */
.background .how-detail {
  margin-bottom: 5rem;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.how-detail .card {
background: #222; /* Warna latar belakang gelap untuk card */
border-radius: 30px;
padding: 2.5rem;
margin-bottom: 1.5rem;
box-shadow: 0 0 10px rgba(0, 255, 0, 0.3); /* Efek cahaya hijau */
}

.background .how-detail .card h2 {
margin-top: 0.5rem;
}

.background .how-detail .card p {
  margin-bottom: -1rem;
}

.how-detail .card #play-buttons {
margin-top: 2rem;
  font-size: 1rem;
  background-color: #33ff00; /* Hijau neon untuk tombol */
  color: #000;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.project-detail .card #play-button:hover {
background-color: #28a745;
}



/* How To Buy */
.how-to-buy {
    text-align: center;
    padding: 60px 20px;
    /* background-color: #32413a; */
  }
  
  .how-to-buy h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #33ff00;
  }
  
  .steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .step {
    background-color: #b6e6fd6e;
    padding: 20px;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
  }
  
  .step:hover {
    transform: translateY(-10px);
  }
  
  .step img {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
  }
  
  .step h3 {
    font-size: 15px;
    margin-bottom: 10px;
    color: #33ff00;
  }
  
  .step p {
    font-size: 14px;
    color: #33ff00;
  }
  
  .cta {
    margin-top: 40px;
  }
  
  .cta button {
    background-color: #33ff00;
    color: #000;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .cta button:hover {
    background-color: #28cc00;
  }
  
  
  /* Buy Options */
  .hidden {
    display: none;
  }
  
  #buy-options {
    margin-top: 50px;
    text-align: center;
  }
  
  #buy-options h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .options {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .options button {
    padding: 13px 23px;
    font-size: 18px;
    background-color: #33ff00;
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
    border-radius: 30px;
  }
  
  .options button:hover {
    background-color: #28cc00;
  }

/* CA */
.ca {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.ca label {
  margin-right: 1rem;
  font-size: 20px;
}

.ca input {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #33ff00;
  border-radius: 4px;
  margin-right: 10px;
  width: 300px;
  background: transparent;
  color: #33ff00;
}

.ca button {
  padding: 5px 10px;
  font-size: 25px;
  background-color: #33ff00;
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.ca button:hover {
  background-color: #28cc00;
}

/* Styling for the notification */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #33ff00;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 255, 0, 0.1);
  display: none;
  z-index: 9999;
  }


.terminals {
    display: flex;
    justify-content: center;
    align-items: center;
}

.heter {
  display: flex;
  background-color: #0f1b29;
  width: 800px;
  height: 35px;
  margin-top: 5rem;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.heter .redc {
    display: flex;  /* Agar konten di dalamnya bisa disusun menggunakan flexbox */
    justify-content: center;  /* Menjaga gambar tetap di tengah horizontal */
    align-items: center;  /* Menjaga gambar tetap di tengah vertikal */
    position: relative;  /* Agar posisi border lebih presisi */
}

.heter .redc img {
    width: 15px;
    margin-left: 1.5rem;  
    border: 1px solid #000000; 
    border-radius: 50%;
    padding: 0px; 
}


.heter .yelc {
    display: flex;  /* Agar konten di dalamnya bisa disusun menggunakan flexbox */
    justify-content: center;  /* Menjaga gambar tetap di tengah horizontal */
    align-items: center;  /* Menjaga gambar tetap di tengah vertikal */
    position: relative;  /* Agar posisi border lebih presisi */
}

.heter .yelc img {
    width: 15px;
    margin-left: 0.5rem;  
    border: 1px solid #000000; 
    border-radius: 50%;
    padding: 0px; 
}

.heter .grec {
    display: flex;  /* Agar konten di dalamnya bisa disusun menggunakan flexbox */
    justify-content: center;  /* Menjaga gambar tetap di tengah horizontal */
    align-items: center;  /* Menjaga gambar tetap di tengah vertikal */
    position: relative;  /* Agar posisi border lebih presisi */
}

.heter .grec img {
    width: 15px;
    margin-left: 0.5rem;  
    border: 1px solid #000000; 
    border-radius: 50%;
    padding: 0px; 
}

.heter p {
  color: #33ff00;
  margin-top: 0.6rem;
  margin-left: 1rem;
  font-size: 0.8rem;
}

.terminal {
  margin-top: 0.05rem;
  margin-bottom: 5rem;
  background: #000;
  color: #33ff00;
  font-family: monospace;
  height: 200px;
  width: 800px;
  overflow-y: auto;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); /* Cahaya hijau untuk terminal */
  animation: terminalEffect 1s infinite; /* Efek terminal */
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* AI chat */
.chat-container {
  width: 90%;
  max-width: 600px;
  margin-left: 8rem;
  height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 2px solid #33ff00;
  border-radius: 10px;
  padding: 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                    url(img/turtles.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: moveBackground 20s infinite alternate ease-in-out, glitchBackground 1s infinite;
}

@keyframes moveBackground {
  0% {
      background-position: 0% 0%;
  }
  100% {
      background-position: 100% 100%;
  }
}

@keyframes glitchBackground {
  0% {
      filter: none;
  }
  20% {
      filter: hue-rotate(10deg) brightness(1.1);
      background-position: 50% 50%;
  }
  40% {
      filter: hue-rotate(-10deg) brightness(0.9);
      background-position: 48% 52%;
  }
  60% {
      filter: hue-rotate(15deg) brightness(1.2);
      background-position: 52% 48%;
  }
  80% {
      filter: hue-rotate(-15deg) brightness(0.8);
      background-position: 51% 49%;
  }
  100% {
      filter: none;
      background-position: 50% 50%;
  }
}


/* Terminal Glitch Effect
.terminal {
  position: relative;
  animation: glitch 2s infinite, colorShift 2s infinite; 
  font-family: 'Courier New', monospace;
} */

/* @keyframes glitch {
  0% {
      transform: skewX(0deg);
      clip-path: inset(0 0 0 0);
  }
  10% {
      transform: skewX(-10deg);
      clip-path: inset(5% 0 10% 0);
  }
  20% {
      transform: skewX(10deg);
      clip-path: inset(0 0 0 0);
  }
  30% {
      transform: skewX(-10deg);
      clip-path: inset(5% 0 15% 0);
  }
  40% {
      transform: skewX(10deg);
      clip-path: inset(0 0 10% 0);
  }
  50% {
      transform: skewX(-10deg);
      clip-path: inset(10% 0 10% 0);
  }
  60% {
      transform: skewX(10deg);
      clip-path: inset(0 0 10% 0);
  }
  70% {
      transform: skewX(-10deg);
      clip-path: inset(10% 0 5% 0);
  }
  80% {
      transform: skewX(10deg);
      clip-path: inset(0 0 5% 0);
  }
  90% {
      transform: skewX(-10deg);
      clip-path: inset(10% 0 0 0);
  }
  100% {
      transform: skewX(0deg);
      clip-path: inset(0 0 0 0);
  }
} */

@keyframes colorShift {
  0% {
    color: #83d8ff;
    text-shadow: 0 0 5px #83d8ff, 0 0 10px #83d8ff, 0 0 15px #83d8ff;
  }
  25% {
    color: #ff3366;
    text-shadow: 0 0 5px #ff3366, 0 0 10px #ff3366, 0 0 15px #ff3366;
  }
  50% {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00;
  }
  75% {
    color: #ff9900;
    text-shadow: 0 0 5px #ff9900, 0 0 10px #ff9900, 0 0 15px #ff9900;
  }
  100% {
    color: #83d8ff;
    text-shadow: 0 0 5px #83d8ff, 0 0 10px #83d8ff, 0 0 15px #83d8ff;
  }
}


/* Hetters glitch */
/* Efek untuk elemen .heter */
.heter {
  animation: glitchHeter 2s infinite, colorShift 2s infinite; /* Menambahkan animasi glitch dan pergeseran warna */
}

@keyframes glitchHeter {
  0% {
    transform: skewX(0deg);
    clip-path: inset(0 0 0 0);
  }
  10% {
    transform: skewX(-10deg);
    clip-path: inset(5% 0 10% 0);
  }
  20% {
    transform: skewX(10deg);
    clip-path: inset(0 0 0 0);
  }
  30% {
    transform: skewX(-10deg);
    clip-path: inset(5% 0 15% 0);
  }
  40% {
    transform: skewX(10deg);
    clip-path: inset(0 0 10% 0);
  }
  50% {
    transform: skewX(-10deg);
    clip-path: inset(10% 0 10% 0);
  }
  60% {
    transform: skewX(10deg);
    clip-path: inset(0 0 10% 0);
  }
  70% {
    transform: skewX(-10deg);
    clip-path: inset(10% 0 5% 0);
  }
  80% {
    transform: skewX(10deg);
    clip-path: inset(0 0 5% 0);
  }
  90% {
    transform: skewX(-10deg);
    clip-path: inset(10% 0 0 0);
  }
  100% {
    transform: skewX(0deg);
    clip-path: inset(0 0 0 0);
  }
}

  
  .ai-header {
    font-size: 30px;
    margin-left: 10rem;
    color: #33ff00;
    margin-bottom: 20px;
  }
  
  .token-container {
    font-size: 16px;
    background-color: #000;
    color: #33ff00;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .token {
    background-color: #222;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
  }
  
  .chat-box {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    height: calc(100% - 120px);
    -webkit-overflow-scrolling: touch;
  }
  
  .chat-box::-webkit-scrollbar {
    width: 0px;
    height: 0px;
  }
  
  .input-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
  }
  
  .input-box {
    width: 85%;
    padding: 10px;
    background-color: #333;
    color: #33ff00;
    border: 2px solid #33ff00;
    border-radius: 5px;
    font-family: 'Press Start 2P', monospace;
  }
  
  .send-button {
    width: 10%;
    font-size: 20px;
    margin-left: 7px;
    padding: 10px;
    background-color: #33ff00;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .send-button:hover {
    background-color: #28cc00;
  }
  
  .message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
    display: flex;
  }
  
  .user-message {
    background-color: rgba(255, 166, 0, 0.589);
    border: 1px solid rgba(255, 165, 0, 0.5);    
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
  }
  
  .bot-message {
    background-color: #33ff008c;
    border: 1px solid #64c8f7;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
  }
  
  .prefix {
    margin-right: 10px;
    margin-top: 9px;
    font-size: 18px;
    color: #33ff00;
  }
  
  
  /* Keterangan */
.ktr {
  margin-left: -6rem;
  margin-top: -2rem;
}

  /* Responsif untuk perangkat mobile */
  @media (max-width: 600px) {
    .chat-container {
      padding: 10px;
      height: 95vh;
    }
  
    .ai-header {
      font-size: 24px;
      margin-bottom: 30px;
      margin-top: 20px;
      margin-left: 2.5rem;
    }
  
    .token-container {
      font-size: 10px;
      margin-bottom: 15px;
      margin-top: -1rem;
    }
  
    .input-box {
      width: 75%;
      height: 30%;
    }
  
    .send-button {
      width: 20%;
      height: 80%;
    }

  
    .message {
      max-width: 90%;
    }
  
    .chat-container {
      width: 90%;
      max-width: 500px;
      height: 70vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      border: 2px solid #83d8ff;
      border-radius: 10px;
      padding: 20px;
      background-color: #000;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }
  
    .background {
      width: 90%;
      height: 4100px;
    }
  }
  

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 1.5rem 1rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header img {
        width: 100px;
    }

    section {
        padding: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .heter {
      width: 80%;
      margin-left: 2rem;
      margin-top: -1rem;
    }

    .terminal {
      margin-top: -0.1rem;
      margin-left: 1.7rem;
      width: 80%;
    }

    .chat-container {
      margin-top: -2rem;
      width:80%;
      margin-left: 1rem;
    }

    .message {
      width: 100%;
    }

    .chat-box {
      padding: 1px;
    }

    /* CA */
    .ca {
      width: 100px;
      margin-left: 8rem;
    }
    
    /* How To Buy */
  .how-to-buy h2 {
    font-size: 24px;
  }

  .options {
    flex-direction: column; /* Mengatur tombol dalam satu kolom */
    align-items: center; /* Untuk menyelaraskan tombol di tengah */
  }

  .options button {
    width: 200px;
    margin-bottom: 10px; /* Jarak antar tombol */
  }

  .options button:last-child {
    margin-bottom: 0; /* Menghapus margin bawah untuk tombol terakhir */
  }

  /* Social */
  .social {
    gap: 1rem;
  }
  
  .social .tele img {
    width: 30px;
  }
  
  .social .x img {
    width: 30px;
  }

  .ktr {
    display: none;
  }

  /* Keterangan */
  .ktr1 {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    margin-top: 3rem;
  }

  .ktr1 img {
    width: 480px;
  }

  /* What is TurtlesAI */
  .background .project-detail {
    padding: 1rem;
    max-width: 100%; /* Menggunakan lebar penuh untuk layar kecil */
    margin-bottom: 3rem;
  }

  .project-detail .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 20px; /* Radius sudut lebih kecil */
  }

  .background .project-detail .card h2 {
    font-size: 1.5rem; /* Ukuran teks lebih kecil untuk mobile */
    text-align: center;
  }

  .background .project-detail .card p {
    margin-bottom: 0.5rem; /* Atur jarak bawah paragraf */
    font-size: 0.9rem; /* Ukuran teks yang lebih kecil */
  }

  .project-detail .card .content1 {
    margin-top: 1.5rem;
  }

  .project-detail .card #play-button {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 8px;
    width: 100%; /* Tombol menggunakan lebar penuh */
  }

  /* How TurtlesAI Works */
  .background .how-detail {
    padding: 1rem;
    max-width: 100%; /* Menggunakan lebar penuh untuk layar kecil */
    margin-bottom: 3rem;
  }

  .how-detail .card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 20px; /* Radius sudut lebih kecil */
  }

  .background .how-detail .card h2 {
    font-size: 1.5rem; /* Ukuran teks lebih kecil untuk mobile */
    text-align: center;
  }

  .background .how-detail .card p {
    margin-bottom: 0.5rem; /* Atur jarak bawah paragraf */
    font-size: 0.9rem; /* Ukuran teks yang lebih kecil */
  }

  .how-detail .card .content1 {
    margin-top: 1.5rem;
  }

  .how-detail .card #play-buttons {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    padding: 8px;
    width: 100%; /* Tombol menggunakan lebar penuh */
  }

  .background {
    width: 90%;
    height: 4100px;
  }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    section {
        padding: 1rem;
    }

    .card {
        padding: 0.8rem;
    }

    .terminal {
        height: 290px;
        font-size: 0.9rem;
    }

    .chat-container {
      height: 400px;
    }

    .background {
      width: 90%;
      height: 4100px;
    }

    /* What is TurtlesAI */
    .background .project-detail {
      padding: 0.5rem;
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .project-detail .card {
      padding: 1rem;
      margin-bottom: 1rem;
      border-radius: 15px; /* Radius sudut lebih kecil */
    }
  
    .background .project-detail .card h2 {
      font-size: 1.3rem; /* Ukuran teks lebih kecil lagi */
      text-align: center;
    }
  
    .background .project-detail .card p {
      margin-bottom: 0.5rem;
      font-size: 0.85rem; /* Ukuran teks yang lebih kecil */
    }
  
    .project-detail .card .content1 {
      margin-top: 1rem;
    }
  
    .project-detail .card #play-button {
      margin-top: 1rem;
      font-size: 0.8rem;
      padding: 6px;
      width: 100%; /* Tombol menggunakan lebar penuh */
    }

    /* How TurtlesAI Works */
    .how .project-detail {
      padding: 0.5rem;
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .how-detail .card {
      padding: 1rem;
      margin-bottom: 1rem;
      border-radius: 15px; /* Radius sudut lebih kecil */
    }
  
    .background .how-detail .card h2 {
      font-size: 1.3rem; /* Ukuran teks lebih kecil lagi */
      text-align: center;
    }
  
    .background .how-detail .card p {
      margin-bottom: 0.5rem;
      font-size: 0.85rem; /* Ukuran teks yang lebih kecil */
    }
  
    .how-detail .card .content1 {
      margin-top: 1rem;
    }
  
    .how-detail .card #play-buttons {
      margin-top: 1rem;
      font-size: 0.8rem;
      padding: 6px;
      width: 100%; /* Tombol menggunakan lebar penuh */
    }
}
