body {
    margin: 0;
    overflow: hidden;
    font-family: "Raleway", serif;
    background-color: #1e90ff;
}

canvas {
    width: 100%;
    height: 100%;
}


.bottom_bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
    z-index: 10;
}

.buttons {
    margin: 0 0 0 0;
}

.socials {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.socials a {
    margin: 0 20px;
}

.top_bar {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.top_content {
    width: 50%;
    text-align: center;
    text-shadow: 0 0 5px #000;
    background-color: rgb(0 0 0 / 60%);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.top_content h1 {
    padding: 0;
    margin: 20px 0 0 0;
}

.top_content p {
    font-size: 12px;
}

.token_link a {
    text-decoration: none;
    color: #ff696e;
}

.top_price {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.price_item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0 20px;
}

.price_item strong {
    font-size: 16px;
}

.price_item span {
    font-size: 25px;
}

button {
    border: none;
    background-color: #383838;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.note{
    font-size: 10px;
    text-align: center;
    line-height: normal;
    margin: 0 0 5px 0;
    font-weight: bold;
}
.note p {
    padding: 0;
    margin: 0;
}

.pumpgame{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px #000;
}
.pumpgame img{
    width: 50px;
}

.info {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
  }

  .info__content {
    width: 320px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: slideIn 0.6s ease-out;
    pointer-events: auto;
  }

  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .logo-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
  }

  .logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .logo-link:hover {
    transform: translateY(-1px);
    opacity: 0.9;
  }

  .logo-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transition: all 0.2s ease;
  }

  .logo-link:hover .logo-image {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  }

  .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
  }

  .market-info {
    text-align: center;
  }

  .mc-label {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-bottom: 0.25rem;
  }

  .mc-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #22c55e;
    text-shadow: 0 1px 2px rgba(34, 197, 94, 0.3);
  }

  .connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0;
  }

  .status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fbbf24;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  .connection__text {
    font-size: 0.75rem;
    color: #e2e8f0;
    font-weight: 500;
  }

  .description p {
    font-size: 0.75rem;
    color: #cbd5e1;
    line-height: 1.5;
    text-align: center;
    margin: 0;
  }

  .status-note {
    text-align: center;
  }

  .note {
    font-size: 0.625rem;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
    opacity: 0.7;
  }

  .social-link {
    text-align: center;
  }

  .follow-x-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(29, 161, 242, 0.3);
  }

  .follow-x-btn:hover {
    background: linear-gradient(135deg, #0d8bd9 0%, #1da1f2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
  }

  .hide__button {
    background: rgba(55, 65, 81, 0.8);
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
  }

  .hide__button:hover {
    background: rgba(75, 85, 99, 0.9);
    transform: translateY(-1px);
  }
  .leaflet-top.leaflet-left{
    display: none;
  }
  .leaflet-left{
    margin-bottom: 30px;
  }
  
  .info.hidden .logo-container,
  .info.hidden .connection-status,
  .info.hidden .description,
  .info.hidden .status-note,
  .info.hidden .social-link {
    display: none;
  }

  .info.hidden {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .info.hidden .info__content {
    width: 200px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.75rem;
  }

  .info.hidden .market-info {
    margin-bottom: 0.5rem;
  }

  .info.hidden .mc-label {
    font-size: 0.625rem;
    margin-bottom: 0.25rem;
  }

  .info.hidden .mc-value {
    font-size: 1rem;
    font-weight: 700;
  }

  .connection__status{
    font-size: 11px;
    font-weight: bold;
    text-align: center;
  }
  .mc{
    font-size: 20px;
    font-weight: bold;
    color: #fff;
  }

@media (max-width: 768px) {
  .info {
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .info__content {
    width: 300px;
    padding: 0.875rem;
  }

  .logo-image {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .mc-value {
    font-size: 1.125rem;
  }

  .description p {
    font-size: 0.6875rem;
  }

  .note {
    font-size: 0.5625rem;
  }

  .follow-x-btn {
    font-size: 0.6875rem;
    padding: 0.375rem 0.75rem;
  }

  .hide__button {
    padding: 0.5rem 0.875rem;
    font-size: 0.6875rem;
  }

  .info.hidden .info__content {
    width: 180px;
    padding: 0.625rem;
  }

  .info.hidden .mc-value {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .info {
    top: 0.5rem;
  }

  .info__content {
    width: 280px;
    padding: 0.75rem;
    gap: 0.625rem;
  }

  .logo-image {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.125rem;
  }

  .mc-value {
    font-size: 1rem;
  }

  .description p {
    font-size: 0.625rem;
  }

  .info.hidden .info__content {
    width: 160px;
  }

  .info.hidden .mc-value {
    font-size: 0.75rem;
  }
}

@media (max-width: 360px) {
  .info__content {
    width: 260px;
    padding: 0.625rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .info.hidden .info__content {
    width: 140px;
    padding: 0.5rem;
  }
}

