/*html, body {
  width: 1000px; /* ukuran desktop tetap */
/*  overflow-x: auto;
  margin: auto;
}*/

@import url('https://fonts.googleapis.com/css2?family=Ubuntu&display=swap');

body {
  font-family: 'Ubuntu', sans-serif;
  min-width: 1024px; 
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100℅;
  background-image: url('/img/0xbabyalien.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display:flex;
  overflow-x:auto;
}

.background-blur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/img/0xbabyalien.jpeg');
  background-size: cover;
  background-position: center;
  filter: blur(8px);
  z-index: -1;
}

a {
  text-decoration: none;
  color: #fff;
}

a:hover {
  color: #ff4081;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1a1a1a, #0c0c0c);
  color: #f5f5dc;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Orbitron", "Ubuntu", monospace;
  letter-spacing: 1px;
  text-align: center;
}

.coffee-loader {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pulseGlow 2s infinite;
}

.coffee-loader i {
  font-size: 64px;
  color: #d2b48c;
  margin-bottom: 12px;
  animation: bob 1.5s infinite ease-in-out;
}

.coffee-loader p {
  margin-top: 6px;
  font-size: 14px;
  color: #e0e0a0;
  text-shadow: 0 0 6px #d2b48c;
}

/* Steam animation */
.steam {
  position: absolute;
  top: -40px;
  width: 20px;
  height: 60px;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 40%, transparent 70%);
  border-radius: 50%;
  animation: steamRise 2s infinite ease-in-out;
}

@keyframes steamRise {
  0% { transform: translateY(0) scaleY(1); opacity: 0.8; }
  100% { transform: translateY(-20px) scaleY(1.4); opacity: 0; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes pulseGlow {
  0%, 100% { text-shadow: 0 0 6px #c2a878; }
  50%      { text-shadow: 0 0 14px #f5f5dc; }
}

.desktop-area {
  position: absolute;
  top: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 80px; /* Jarak antar ikon */
}

.desktop-icon {
  color: white;
  text-align: center;
  cursor: pointer;
}

.desktop-icon i {
  font-size: 18px;
}

.desktop-icon:hover i {
  color: #00bfff;
}

    .desktop-icon img {
      width: 34px;
      display: block;
      margin: auto;
    }

    .taskbar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: #2b2b2b;
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 6px 10px;
      height: 40px;
      gap: 22px;
    }

   /* .start-button {
      background: #444;
      padding: 5px 10px;
      border-radius: 4px;
      color: white;
      font-weight: bold;
    }
*/

.window {
  display:none;
  position: absolute;
  top: 120px;
  right: 80px;
  background: #555;
  width: 400px;
  border: 2px solid #555;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  border-radius: 6px;
  overflow: hidden;
  font-family: "Ubuntu", sans-serif;
}

.window-header {
  background: #333;
  color: #e0e0a0;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.window-controls {
  /*pending: 10px;*/
  display: flex;
  gap: 6px;
}

.window-controls button {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.window-controls .close {
  background: #e06c75;
}

.window-controls .minimize {
  background: #e5c07b;
}

.window-controls .maximize {
  background: #98c379;
}

.window-content {
  padding: 12px;
  background: #444;
  color: #ccc;
  text-shadow: 0 0 2px #000;
  font-size: 14px;
}

.start-button {
  background: #444;
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 6px;
}

.taskbar-icons {
  display: flex;
  gap: 16px;
  font-size: 18px;
  color: white;
}

.taskbar-icons i:hover {
  color: #00bfff;
  cursor: pointer;
}
/*clockbar*/
.clock {
  font-family: 'Ubuntu', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* tooltip clock */
.clock-tooltip {
  position: absolute;
  display: none;
  bottom: 80px;
  right: 20px;
  z-index: 999;
}

.analog-clock {
  width: 120px;
  height: 120px;
  border: 4px solid #ccc;
  border-radius: 50%;
  background-color: #1e1e1e;
  position: relative;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background-color: #eee;
}

.hour {
  width: 4px;
  height: 30px;
  z-index: 3;
}

.minute {
  width: 3px;
  height: 45px;
  z-index: 2;
}

.second {
  width: 2px;
  height: 55px;
  background-color: #f00;
  z-index: 1;
}

.center-dot {
  width: 8px;
  height: 8px;
  background-color: #eee;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  }

/*menu*/
.floating-menu {
  position: absolute;
  bottom: 50px;
  left: 10px;
  background-color: #333;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 10px;
  display: none;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
  z-index: 1000;
}

.floating-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.floating-menu li {
  padding: 4px 12px;
  color: white;
  font-size: 14px;
  cursor: pointer;
}

.floating-menu li:hover {
  background-color: #444;
}

    #popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: #ddd;
      border: 2px solid #555;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      z-index: 10;
    }
    #overlay {
      display: none;
      position: fixed;
      top:0;
      left:0;
      width:100%;
      height:100%;
      background: rgba(0,0,0,0.5);
      z-index: 5;
    }
.menu-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}
.menu-icon:hover {
  filter: drop-shadow(0 0 4px cyan);
}

.footer {
  letter-spacing: 1px;
  line-height: 1.6;
  background-color: #888;
  text-shadow: 0 0 2px #000;
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 14px;
  margin-top: 50px;
  border-top: 1px solid #ddd;
}

.social-icons a {
  color: #e0e0a0; /* Warna ikon, sesuaikan jika perlu */
  margin: 0 15px;
  font-size: 22px;
  transition: all 0.3s ease;
  
  /* Bayangan diubah menjadi warna biru yang lembut */
  text-shadow: 2px 2px 4px rgba(0, 122, 255, 0.5); 
}

/* Efek hover bisa tetap sama atau disesuaikan */
.social-icons a:hover {
  color: #ff4081;
  transform: translateY(-3px);
}

.social-icons {
  background-color: #2b2b2b;
  padding: 20px 15px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 10px;
}

.crypto-item {
  padding: 6px 0;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.crypto-item img {
  width: 24px;
  height: 24px;
}
.wallet-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  padding: 4px 8px;
  border-radius: 6px;
}

.wallet-bar input {
  background: #222;
  color: #eee;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  width: 80px;
}

.wallet-bar button {
  background: transparent;
  border: none;
  cursor: pointer;
}

.wallet-bar button img {
  width: 24px;
  height: 24px;
}
.wallet-bar input {
  background: #222;
  color: #0f0;
  font-family: monospace;
  font-size: 14px;
  width: 81px;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
}

.coingecko-parent {
  position: relative;
}

.coingecko-submenu {
  position: absolute;
  left: 155px;
  width: 120px;
  top: 0;
  background: #333;
  padding: 6px 12px;
  border-radius: 8px;
  list-style: none;
  border: 1px solid #555;
  display: none;
  box-shadow: 2px 2px 14px rgba(0,0,0,0.5);
  outline: 1px solid #555;
  cursor: pointer;
  display: none;
}
.coingecko-submenu li {
  color: #eee;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.coingecko-submenu li:hover {
  background-color: #2a2a2a;
}

.coinmarketcap-parent {
  position: relative;
}

.coinmarketcap-submenu {
  position: absolute;
  left: 155px;
  width: 120px;
  top: 0;
  background: #333;
  padding: 6px 12px;
  border-radius: 8px;
  list-style: none;
  border: 1px solid #555;
  display: none;
  box-shadow: 2px 2px 14px rgba(0,0,0,0.5);
  outline: 1px solid #555;
  cursor: pointer;
  display: none;
}
.coinmarketcap-submenu li {
  color: #eee;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.coinmarketcap-submenu li:hover {
  background-color: #2a2a2a;
}

.terminal-content {
  background-color: #333;
  color: #00ff00;
  font-family: "Courier New", monospace;
  padding: 12px;
  overflow-y: auto;
  width: 800px;
  height: 200px;
}
.blinking {
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

#cliInput {
  font-family: "Courier New", monospace;
  color: #00ff00;
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.2em;
  outline: none;
}

.line {
  display: flex;
  align-items: left;
  gap: 8px; /* Atur jarak antar elemen */
}

.prompt {
  white-space: nowrap;
}

/* =================================
   FILE MANAGER (ADVANCED)
   ================================= */

:root {
  --fm-bg: #252526;
  --fm-sidebar-bg: #333333;
  --fm-toolbar-bg: #383838;
  --fm-item-hover: #404040;
  --fm-item-selected: #094771;
  --fm-border-color: #444444;
  --fm-text-primary: #cccccc;
  --fm-text-secondary: #999999;
  --fm-accent-color: #007acc;
  --fm-folder-color: #ffca28;
}

.file-manager-container {
  display: flex;
  height: 100%;
  padding: 0;
  background-color: var(--fm-bg);
  color: var(--fm-text-primary);
}

/* === Sidebar (Kiri) === */
.fm-sidebar {
  width: 220px;
  background-color: var(--fm-sidebar-bg);
  padding: 0.75rem;
  border-right: 1px solid var(--fm-border-color);
  flex-shrink: 0;
}

.fm-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--fm-text-secondary);
  padding: 0.5rem 0.5rem;
  text-transform: uppercase;
}

.fm-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
}

.fm-sidebar li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.fm-sidebar li:hover {
  background-color: var(--fm-item-hover);
}

.fm-sidebar li.active {
  background-color: var(--fm-accent-color);
  color: white;
}

/* === Panel Utama (Kanan) === */
.fm-main-panel {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden; /* Mencegah konten keluar */
}

/* Toolbar */
.fm-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background-color: var(--fm-toolbar-bg);
  border-bottom: 1px solid var(--fm-border-color);
  flex-shrink: 0;
}

.fm-toolbar button {
  background: none;
  border: none;
  color: var(--fm-text-primary);
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}
.fm-toolbar button:hover {
  background-color: var(--fm-item-hover);
}
.fm-toolbar button:disabled {
  color: var(--fm-text-secondary);
  cursor: not-allowed;
  background: none;
}

.fm-address-bar, .fm-search-bar {
  display: flex;
  align-items: center;
  background-color: var(--fm-bg);
  border: 1px solid var(--fm-border-color);
  border-radius: 4px;
  padding: 0 0.5rem;
  flex-grow: 1;
}

.fm-search-bar {
    flex-grow: 0.5;
}

.fm-toolbar input {
  background: none;
  border: none;
  color: var(--fm-text-primary);
  padding: 0.5rem;
  width: 100%;
  outline: none;
}

.fm-toolbar i {
  color: var(--fm-text-secondary);
}

/* Grid View */
.fm-grid-view {
  flex-grow: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  overflow-y: auto; /* Scroll jika item banyak */
}

.fm-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.fm-grid-item:hover {
  background-color: var(--fm-item-hover);
}

.fm-grid-item.selected {
  background-color: var(--fm-item-selected);
  border-color: var(--fm-accent-color);
}

.fm-grid-item i {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.fm-grid-item .fm-icon-folder { color: var(--fm-folder-color); }
.fm-grid-item .fm-icon-file { color: var(--fm-text-primary); }

.fm-grid-item span {
  font-size: 0.8rem;
  word-break: break-word;
}

/* Custom Scrollbar */
.fm-grid-view::-webkit-scrollbar {
  width: 8px;
}
.fm-grid-view::-webkit-scrollbar-track {
  background: var(--fm-bg);
}
.fm-grid-view::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}
.fm-grid-view::-webkit-scrollbar-thumb:hover {
  background: #666;
}

.fm-nav-buttons {
  display: flex;
}

.fm-nav-buttons button {
  background: none;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 5px 10px;
  margin-right: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-nav-buttons button:hover {
  background-color: #383838;
}

.fm-nav-buttons button i {
  font-size: 16px;
  color: #999;
}
/* chart pie */
.fm-grid-item i.text-eth   { color: #627eea; }
.fm-grid-item i.text-matic { color: #8247e5; }
.fm-grid-item i.text-usdc  { color: #2775ca; }
.fm-grid-item i.text-baby  { color: #ffcc00; }

.fm-grid-item.full-width {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.75px;
}
.fm-grid-item.chart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 20px;
}
.fm-grid-view {
  display: flex;
  flex-wrap: wrap;
}

/* end chart pie */

.container {
    font-family: "Ubuntu", sans-serif;
    text-align: center;
    /*padding: 20px;*/
    /*border: 2px solid #61afef;
    border-radius: 8px;
    background-color: #3e4451;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);*/
}

h1 {
    color:#fff;
    text-shadow: 0 0 12px #d2b48c;
    font-size: 1.1em;
    white-space: nowrap; /* Mencegah teks melompat ke baris baru saat diketik */
    overflow: hidden; /* Sembunyikan overflow */
    /*border-right: .15em solid orange;  */
    animation: none; /* Nonaktifkan animasi kursor awal */
    display: inline-block; /* Agar border-right berfungsi sebagai kursor */
    margin: 0;
  /*  padding-right: 5px;  */
}

p.description {
    color:#fff;
    text-shadow: 0 0 12px #d2b48c;
    font-size: 1.1em;
   /* margin-top: 20px;*/
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    /*padding-right: 5px;*/
}

/* Kursor yang berkedip */
.cursor {
    font-weight: normal;
    animation: blink-caret 0.75s step-end infinite;
}

/* Animasi kedip untuk kursor */
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: orange; } /* Warna kursor */
}

/* Kursor kedua untuk paragraf */
.second-cursor {
    animation: blink-caret-2 0.75s step-end infinite;
}

@keyframes blink-caret-2 {
    from, to { border-color: transparent; }
    50% { border-color: yellow; } /* Warna kursor kedua */
}

/* Efek untuk menyembunyikan kursor sebelum pengetikan dimulai */
h1 .cursor, p.description .cursor {
    visibility: hidden;
}

/* Aturan CSS yang ditambahkan oleh JavaScript */
h1.typing .cursor, p.typing .cursor {
    visibility: visible;
}
#typing-text, #second-typing-text {
  display: block;
  visibility: visible;
}

/* Styling untuk daftar exchange kripto */
.exchange-list-container {
    max-width: 800px;
    margin: 15px auto;
    margin-bottom: 15px;
    margin-top: 15px;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 20px;
}
.exchange-list-container h2 {
    color: #e0e0a0; /* Light blue heading */
    text-align: center;
    margin-bottom: 25px;
}
.exchange-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #3a3a5a; /* Slightly lighter border */
}
.exchange-item:last-child {
    border-bottom: none;
}
.exchange-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Circular logos */
    margin-right: 15px;
    object-fit: contain;
    background-color: #fff; /* Ensure logos with transparency look good */
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.exchange-item .info {
    flex-grow: 1;
}
.exchange-item .info h3 {
    margin: 0;
    color: #f8f8f2; /* White for name */
    font-size: 1.1em;
}
.exchange-item .info p {
    margin: 5px 0 0;
    color: #a0a0b0; /* Greyish for description */
    font-size: 0.9em;
}
.exchange-item .link {
    margin-left: auto;
}
.exchange-item .link a {
    display: inline-block;
    background-color: #e0e0a0; /* Purple for button */
    color: black;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}
.exchange-item .link a:hover {
    background-color: #5067d0;
}
