/* Base styles */

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-gradient: linear-gradient(135deg, #f0b90b, #f8d12f);
  --primary-color: #f0b90b;
  --primary-light: #f8d12f;
  --primary-dark: #d4a007;
  --text-dark: #1e2026;
  --text-light: #76808f;
  --background-light: #fafafa;
  --background-dark: #14151a;
}

body {
  font-family: "Poppins", sans-serif;
  width: 100%;
  line-height: 1.6;
  color: #fff;
  background-color: var(--background-light);
  margin: 0;
  padding: 0;
}

/* Header */

.social-logo {
  width: 32px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  width: 96px;
}

/* Social Links */

.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-link.disabled {
  color: var(--text-light);
  cursor: not-allowed;
  opacity: 0.75;
}

.social-link.disabled svg {
  opacity: 0.75;
}

.social-link.disabled:hover {
  color: var(--text-light);
  transform: none;
}

.social-icon {
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.social-icon.telegram {
  margin: -2px;
}

/* Container */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */

.hero {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(240, 185, 11, 0.05) 0%,
    rgba(248, 210, 47, 0.02) 100%
  );
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.mode-btn:hover,
.button:hover,
.button-primary:hover,
.button-secondary:hover,
.launch-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.mode-btn:active,
.button:active,
.button-primary:active,
.button-secondary:active,
.launch-button:active {
  transform: translateY(1px);
}

.mode-btn:disabled,
.button:disabled,
.button-primary:disabled,
.button-secondary:disabled,
.launch-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.button-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.button-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.launch-button {
  font-size: 1.25rem;
}

.primary-button {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: black;
  background: #44e48e;
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 1rem;
}

.primary-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.primary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Features Section */

.features {
  padding: 4rem 0;
  background-color: var(--background-light);
}

.features h2 {
  text-align: center;
  font-size: 2.25rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(240, 185, 11, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(240, 185, 11, 0.15);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  color: var(--text-light);
  margin: 0;
}

/* Wallet Analyzer */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.mode-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: linear-gradient(
    180deg,
    rgba(240, 185, 11, 0.05) 0%,
    rgba(248, 210, 47, 0.02) 100%
  );
  border-radius: 12px;
  border: 1px solid rgba(240, 185, 11, 0.1);
}

.mode-selector .mode-btn {
  flex: 1;
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.mode-selector .mode-btn:hover {
  background: linear-gradient(
    180deg,
    rgba(240, 185, 11, 0.1) 0%,
    rgba(248, 210, 47, 0.05) 100%
  );
  transform: translateY(-1px);
}

.mode-selector .mode-btn.active {
  background: var(--primary-gradient);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(240, 185, 11, 0.3);
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  padding: 8px;
  margin-right: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 300px;
}

.input-group button {
  padding: 8px 16px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filter-group {
  margin: 20px 0;
  padding: 15px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

.filter-group h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.filter-group label {
  display: block;
  margin-bottom: 10px;
}

.filter-group input {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100px;
}

#graph-container {
  width: 100%;
  height: 600px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 20px 0;
  background-color: #fafafa;
}

.node circle {
  fill: #69b3a2;
  stroke: #fff;
  stroke-width: 2px;
}

.node text {
  font-size: 12px;
}

.link {
  stroke: #999;
  stroke-opacity: 0.6;
}

.main-node circle {
  fill: #357abd;
}

.tooltip {
  position: absolute;
  padding: 8px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  pointer-events: none;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.interactions-list {
  margin-top: 20px;
}

.interaction-item {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
}

.interaction-item h4 {
  margin: 0 0 10px 0;
}

.interaction-item ul {
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.interaction-item li {
  margin-bottom: 5px;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

/* Graph styles */

.text-green {
  color: #44e48e;
}

#wallet-graph {
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* margin-top: 20px; */
}

#wallet-graph svg {
  display: block;
  margin: 0 auto;
}

#wallet-graph circle {
  cursor: pointer;
  transition: all 0.3s ease;
}

#wallet-graph circle:hover {
  stroke: #000;
  stroke-width: 2px;
}

#wallet-graph line {
  cursor: pointer;
  transition: all 0.3s ease;
}

#wallet-graph line:hover {
  stroke: #000;
  stroke-opacity: 1;
}

#wallet-graph text {
  pointer-events: none;
  user-select: none;
}

/* Token Analysis Styles */

.token-results {
  margin-top: 20px;
}

.token-analysis {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

.token-address {
  font-family: "Poppins", sans-serif;

  margin: 5px 0;
}

.token-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.stat {
  background: white;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.stat .label {
  color: #666;
  font-size: 0.9em;
}

/* Tooltip styles */

.social-link {
  position: relative;
}

.social-link .tooltip {
  visibility: hidden;
  background-color: var(--text-dark);
  color: white;
  text-align: center;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  font-size: 14px;
}

.social-link .tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--text-dark) transparent;
}

.social-link:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.stat .value {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 5px;
}

.profit-positive .value {
  color: #28a745;
}

.profit-negative .value {
  color: #dc3545;
}

.transactions {
  margin-top: 15px;
}

.buy-txs,
.sell-txs {
  background: white;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.transactions ul {
  list-style-type: none;
  padding-left: 0;
  margin: 10px 0;
}

.transactions li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.transactions li:last-child {
  border-bottom: none;
}

.transactions a {
  color: #44e48e;
  text-decoration: none;
}

.transactions a:hover {
  text-decoration: underline;
}

/* Results Container Styles */

.results-container {
  margin: 20px 0;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-container .error {
  color: #dc3545;
  padding: 10px;
  background: #f8d7da;
  border-radius: 4px;
  margin-bottom: 10px;
}

/* Responsive Design */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero-text {
    font-size: 1.125rem;
    padding: 0 1rem;
  }
  .cta-group {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
}
