:root {
    --primary-bg: #5e35b1;
    --secondary-bg: #7e57c2;
    --accent-color: #3949ab;
    --text-color: #ffffff;
    --muted-text: #d1c4e9;
    --chart-color-1: #9575cd;
    --chart-color-2: #7986cb;
    --positive-color: #4caf50;
    --negative-color: #f44336;
}

body {
    font-family: 'Inter', sans-serif;
    background: url('sunny-meadow-landscape.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust the opacity to make it darker */
    z-index: -1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.glass-input, .glass-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-color);
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.glass-input:focus, .glass-select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.glass-select option {
    background-color: var(--primary-bg);
    color: var(--text-color);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.time-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.time-btn:hover, .time-btn.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.connect-wallet-btn {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-bg));
    color: var(--text-color);
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.connect-wallet-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pulse 1s infinite;
}

#swapButton, #swapFullButton {
    background: linear-gradient(to right, #7e57c2, #5e35b1);
    color: #ffffff;
    padding: 12px;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

#swapButton:hover, #swapFullButton:hover {
    background: linear-gradient(to right, #9575cd, #7e57c2);
    transform: scale(1.05);
}

#tooltip {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
    z-index: 1000000000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#connectWalletModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#connectWalletModal.active {
    display: flex;
}

.chart-background {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.swap-icon {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--muted-text);
    transition: all 0.3s ease;
}

.swap-icon:hover {
    transform: rotate(180deg);
}

.token-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.token-table th {
    text-align: left;
    padding: 12px;
    color: var(--muted-text);
    font-weight: 600;
}

.token-table td {
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.token-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 4px;
    background-color: var(--chart-color-1);
    border-radius: 2px;
    transition: width 0.5s ease-in-out;
}

.nav-link {
    position: relative;
    color: var(--muted-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
    left: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .time-selector {
        display: flex;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .time-btn {
        flex-shrink: 0;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a:focus, button:focus, input:focus, select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

@media print {
    body {
        background: none;
        color: #000;
    }

    .glass-card {
        box-shadow: none;
        border: 1px solid #000;
    }

    .chart-background {
        display: none;
    }
}

.greed-index-text {
    color: #ffffff;
}

.glass-btn img {
    margin-right: 8px;
}

    /* Custom Scrollbar Styling */
    ::-webkit-scrollbar {
        width: 10px; /* Width of the scrollbar */
        height: 10px; /* Height of the scrollbar (for horizontal scrollbars) */
      }
      
      ::-webkit-scrollbar-track {
        background: #05181e52; /* Dark blue track */
        border-radius: 10px; /* Rounded corners */
      }
      
      ::-webkit-scrollbar-thumb {
        background: #5ce6e697; /* Cyan thumb */
        border-radius: 10px; /* Rounded corners */
        border: 2px solid #0f0118; /* Adds padding effect */
      }
      
      ::-webkit-scrollbar-thumb:hover {
        background: #32ecd74e; /* Darker cyan on hover */
      }
      
      /* Optional: Style for Firefox */
      * {
        scrollbar-width: thin; /* Thin scrollbar */
        scrollbar-color: #68ebc651 #070707eb; /* Cyan thumb, dark blue track */
      }
      .rendered-container,
      .raw-container {
        display: inline-block;
        width: 48%; /* Each container takes half the space */
        vertical-align: top;
        margin: 1%;
        max-height: 230px;
        overflow-y: auto;
      }
      
      pre {
        white-space: pre-wrap;
        word-wrap: break-word;
        font-family: monospace;
        margin: 0;
      }
      .carousel-item {
                  position: relative;
                  cursor: pointer;
                  text-align: center;
              }
            
              .carousel-item img {
                  max-height: 40px;
                  object-fit: contain;
                  border-radius: 50%;
              }
            
              .badge-trend {
                  position: absolute;
                  top: 10px;
                  left: 10px;
                  font-size: 14px;
                  padding: 5px 10px;
                  border-radius: 5px;
                  color: white;
              }
            
              .best-trading { background-color: rgba(110, 21, 205, 0.829); }
              .hot-now { background-color: rgba(191, 27, 237, 0.817); }
              .buy-now { background-color: rgba(152, 36, 144, 0.829); }
              .laptop {
        margin: 20px auto;
        max-width: 90%;
        perspective: 1500px;
      }
  
      .laptop__screen {
        padding: 3%;
        border-radius: 1rem;
        background: linear-gradient(270deg, rgb(27, 2, 49), transparent, transparent);
        animation: animate1 1s linear infinite;
        box-shadow: 0 0 5px rgb(71, 5, 86),
          0 0 1px rgb(151, 10, 233),
          0 0 1px rgb(148, 10, 233),
          0 0 200px rgb(151, 10, 233);
        border: 2px solid #ccc;
        transform: rotateX(50deg);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        /* Added transition */
      }
  
      .laptop__screen:hover {
        padding: 3%;
        border-radius: 1rem;
        background: linear-gradient(270deg, rgb(131, 2, 206), transparent, transparent);
        animation: animate1 1s linear infinite;
        box-shadow: 0 0 5px rgb(140, 10, 233),
          0 0 1px rgb(148, 10, 233),
          0 0 1px rgb(144, 10, 233),
          0 0 200px rgb(185, 10, 233);
        border: 2px solid #ccc;
        transform: rotateX(10deg);
        transition: transform 0.5s ease, box-shadow 0.5s ease;
        /* Added transition */
      }
  
  
      .session {
        padding: 20px;
        margin: 10px;
        background: black;
        border-radius: 10px;
      box-shadow: inset 0 0 35px 5px rgba(51, 3, 70, 0.45), inset 0 2px 1px 1px rgba(255, 255, 255, 1), inset 0 -2px 1px 0 rgba(0, 0, 0, 1);
      }
      .logs {
        height: 200px;
        overflow-y: scroll;
        background-color: #000;
        color: #fff;
        border: 1px solid #ddd;
        padding: 10px;
        font-size: 0.9em;
        margin-bottom: 10px;
      }
  
                          #terminal {
             
              background-color: rgba(0, 0, 0, 0.361);
             
              font-size: 14px;  /* Reduced font size */
              line-height: 1.4;
              overflow: hidden;
              white-space: pre-wrap;
          }
  
          .system { color: #00ff00; }  /* Green system messages */
          .info { color: #ffffff; }    /* White for general steps */
          .alert2 { color: #ffcc00; }   /* Yellow for opportunities */
          .error { color: #ff4444; }   /* Red for urgent alerts */
  
          .cursor {
              display: inline-block;
              width: 10px;
              height: 14px;
              background-color: #00ff00;
              animation: blink 0.8s infinite;
          }
  
          @keyframes blink {
              50% {
                  opacity: 0;
              }
          }
          .top-header {
                            background: linear-gradient(135deg, #261a2e71, #39163e69);
                        }
                        .step-box {
                            background: rgba(1, 5, 32, 0.1);
                            color: white;
                            border: 1px solid rgba(7, 255, 214, 0.537);
                            border-radius: 10px;
                        }
                        .btn-primary {
                            background-color: #10caa8;
                            border-color: #ff0062;
                        }
                        .btn-primary:hover {
                            background-color: #6f00e6a1;
                        }
                        .info-btn {
                          background: #19d298bc;
                          color: white;
                          border: none;
                          padding: 8px 12px;
                          font-size: 16px;
                          border-radius: 5px;
                          cursor: pointer;
                        }
  
                        .info-btn:hover {
                          background: #c334dc1a;
                        }
  
                        .hidden {
                          display: none;
                        }
  
                        .info-text {
                          margin-top: 10px;
                          color: #ead7d7;
                          font-size: 14px;
                        }
  
                        /* Copy Input & Button */
                        .copy-container {
                          display: flex;
                          align-items: center;
                          margin-top: 10px;
                        }
  
                        .copy-container input {
                          width: 100%;
                          padding: 5px;
                          border: 1px solid #f4ecec15;
                          border-radius: 5px;
                          margin-right: 5px;
                        }
  
                        .copy-container button {
                          padding: 5px 10px;
                          background: #cd13d3ad;
                          color: white;
                          border: none;
                          border-radius: 5px;
                          cursor: pointer;
                        }
  
                        .copy-container button:hover {
                          background: #d33ec92f;
                        }
                        
      
   