/* ============================================ */
/* GGROTTO TOKEN SCREENER - PREMIUM DESIGN     */
/* The Grotto L1 Analytics by Wrathtank        */
/* ============================================ */

/* Hide dripping effect */
.blood-drips {
  display: none !important;
}

/* ============================================ */
/* BRANDING                                    */
/* ============================================ */

.brand-header {
  text-align: center;
  margin-bottom: 15px;
}

/* ============================================ */
/* CONTAINER                                   */
/* ============================================ */

.screener-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 100px;
  position: relative;
  z-index: 10;
}

/* ============================================ */
/* HEADER                                      */
/* ============================================ */

.screener-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  text-align: center;
}

.screener-header .glitch-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, #fff8dc 40%, var(--gold) 60%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
  letter-spacing: 4px;
}

.screener-header .subtitle {
  font-family: 'Teko', sans-serif;
  font-size: 0.85rem;
  margin-bottom: 35px;
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan);
  letter-spacing: 6px;
}

/* ============================================ */
/* STATS BAR                                   */
/* ============================================ */

.header-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 25px;
  background: linear-gradient(180deg, rgba(0, 20, 25, 0.9) 0%, rgba(0, 10, 15, 0.95) 100%);
  border: 1px solid var(--teal);
  border-radius: 12px;
  box-shadow:
    0 0 30px rgba(0, 139, 139, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Corner accents for stats bar */
.header-stats::before,
.header-stats::after {
  content: '◈';
  position: absolute;
  font-size: 0.8rem;
  color: var(--gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.header-stats::before {
  top: -8px;
  left: 20px;
}

.header-stats::after {
  top: -8px;
  right: 20px;
}

.stat-box {
  background: linear-gradient(180deg, rgba(0, 40, 50, 0.6) 0%, rgba(0, 20, 30, 0.8) 100%);
  border: 1px solid rgba(0, 212, 212, 0.3);
  border-radius: 8px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
  transition: all 0.3s ease;
}

.stat-box:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  transform: translateY(-2px);
}

.stat-box .stat-label {
  font-family: 'Teko', sans-serif;
  font-size: 0.5rem;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stat-box .stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan);
}

/* HERESY Price Box - Premium styling */
.stat-box.heresy-box {
  background: linear-gradient(180deg, rgba(50, 10, 30, 0.8) 0%, rgba(30, 5, 20, 0.9) 100%);
  border: 1px solid var(--hot-pink);
  box-shadow:
    0 0 20px rgba(255, 20, 147, 0.3),
    inset 0 0 30px rgba(255, 20, 147, 0.1);
}

.stat-box.heresy-box:hover {
  border-color: var(--hot-pink);
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.5);
}

.stat-box .heresy-value {
  color: var(--hot-pink);
  text-shadow: 0 0 15px var(--hot-pink);
  animation: heresy-pulse 2s ease-in-out infinite;
}

@keyframes heresy-pulse {
  0%, 100% {
    text-shadow: 0 0 15px var(--hot-pink);
    filter: brightness(1);
  }
  50% {
    text-shadow: 0 0 25px var(--pink), 0 0 40px var(--hot-pink);
    filter: brightness(1.2);
  }
}

/* ============================================ */
/* SEARCH & FILTERS                            */
/* ============================================ */

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, rgba(0, 15, 20, 0.7) 0%, rgba(0, 10, 15, 0.8) 100%);
  border: 1px solid rgba(0, 139, 139, 0.2);
  border-radius: 12px;
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.search-box input {
  width: 100%;
  padding: 14px 20px 14px 45px;
  background: rgba(0, 20, 30, 0.8);
  border: 2px solid var(--teal);
  border-radius: 8px;
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.05);
  background: rgba(0, 30, 40, 0.9);
}

.search-box input::placeholder {
  color: #555;
}

.search-box .search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
}

.filter-buttons {
  display: flex;
  gap: 8px;
}

.filter-btn {
  padding: 12px 18px;
  font-family: 'Teko', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: #666;
  background: rgba(0, 20, 30, 0.6);
  border: 1px solid rgba(0, 139, 139, 0.3);
  border-radius: 6px;
  cursor: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.filter-btn:hover {
  color: var(--cyan);
  border-color: var(--teal);
  background: rgba(0, 40, 50, 0.6);
}

.filter-btn.active {
  color: var(--darker);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
  font-weight: 700;
}

.sort-dropdown select {
  padding: 12px 35px 12px 15px;
  background: rgba(0, 20, 30, 0.8);
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--white);
  font-family: 'Teko', sans-serif;
  font-size: 0.6rem;
  cursor: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300ffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all 0.3s ease;
}

.sort-dropdown select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.sort-dropdown select option {
  background: var(--darker);
  color: var(--white);
}

/* ============================================ */
/* TOKEN GRID                                  */
/* ============================================ */

.token-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* ============================================ */
/* TOKEN CARD - Premium Design                 */
/* ============================================ */

.token-card {
  background: linear-gradient(180deg, rgba(0, 25, 35, 0.95) 0%, rgba(0, 15, 20, 0.98) 100%);
  border: 1px solid rgba(0, 139, 139, 0.4);
  border-radius: 12px;
  padding: 20px;
  cursor: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Decorative corner accent */
.token-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, transparent 50%, rgba(212, 175, 55, 0.1) 50%);
  transition: all 0.3s ease;
}

/* Hover glow line */
.token-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--cyan));
  transition: width 0.4s ease;
}

.token-card:hover::after {
  width: 100%;
}

.token-card:hover {
  border-color: var(--cyan);
  transform: translateY(-5px);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.token-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.token-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--dark-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
  flex-shrink: 0;
  border: 2px solid rgba(255, 105, 180, 0.5);
}

.token-info {
  flex: 1;
  min-width: 0;
}

.token-name {
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.token-symbol {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  text-shadow: 0 0 5px var(--cyan);
}

.token-type-badge {
  font-family: 'Teko', sans-serif;
  font-size: 0.45rem;
  padding: 4px 10px;
  background: rgba(0, 255, 255, 0.15);
  border: 1px solid var(--teal);
  border-radius: 4px;
  color: var(--cyan);
  letter-spacing: 1px;
}

.token-type-badge.graduated {
  background: linear-gradient(135deg, rgba(0, 139, 139, 0.3), rgba(0, 100, 100, 0.2));
  border-color: var(--cyan);
  color: var(--cyan);
}

.token-type-badge.bonding {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.2), rgba(139, 20, 88, 0.2));
  border-color: var(--pink);
  color: var(--pink);
}

/* Token Stats Grid */
.token-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.token-stat {
  background: rgba(0, 0, 0, 0.4);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 139, 139, 0.1);
  transition: all 0.2s ease;
}

.token-stat:hover {
  border-color: rgba(0, 139, 139, 0.3);
  background: rgba(0, 20, 30, 0.5);
}

.token-stat .label {
  display: block;
  font-family: 'Teko', sans-serif;
  font-size: 0.45rem;
  color: #666;
  margin-bottom: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.token-stat .value {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.token-stat .value.highlight {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
}

/* Graduation Progress Bar */
.graduation-bar {
  position: relative;
  height: 16px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(0, 139, 139, 0.15);
}

.graduation-fill {
  height: 100%;
  background: linear-gradient(90deg, #008b8b, #00d4d4);
  border-radius: 8px;
  transition: width 0.6s ease;
  box-shadow: 0 0 8px rgba(0, 212, 212, 0.3);
}

.graduation-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
}

/* Token Card Footer */
.token-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 139, 139, 0.2);
}

.token-address {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: #555;
}

.token-address.lp-address {
  color: var(--cyan);
}

.token-trades {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: #555;
}

/* Cave link button */
.cave-link {
  font-family: 'Teko', sans-serif;
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--pink);
  text-decoration: none;
  padding: 5px 10px;
  background: rgba(255, 105, 180, 0.1);
  border: 1px solid var(--pink);
  border-radius: 4px;
  transition: all 0.2s ease;
  letter-spacing: 1px;
}

.cave-link:hover {
  background: rgba(255, 105, 180, 0.25);
  color: var(--white);
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.4);
}

/* Price Section */
.price-section {
  margin-bottom: 15px;
  padding: 15px;
  background: linear-gradient(180deg, rgba(0, 30, 40, 0.6) 0%, rgba(0, 20, 30, 0.8) 100%);
  border-radius: 10px;
  border: 1px solid rgba(0, 139, 139, 0.2);
}

.current-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-usd {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.price-heresy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: #777;
}

/* Token Icon with Image */
.token-icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.token-icon-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
  border: 2px solid rgba(255, 105, 180, 0.5);
}

/* ============================================ */
/* LOADING & EMPTY STATES                      */
/* ============================================ */

.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  gap: 25px;
}

.loading-state p {
  font-family: 'Teko', sans-serif;
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 3px;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.empty-state p {
  font-family: 'Teko', sans-serif;
  font-size: 0.8rem;
  color: var(--pink);
  letter-spacing: 2px;
}

/* ============================================ */
/* MODAL - Premium Design                      */
/* ============================================ */

.modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 139, 139, 0.2);
}

.token-icon-large {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--dark-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 0 30px var(--pink);
  border: 3px solid rgba(255, 105, 180, 0.5);
}

.token-title h2 {
  font-family: 'Teko', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  letter-spacing: 2px;
}

.token-symbol-large {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan);
}

/* Modal Stats */
.modal-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.modal-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(0, 139, 139, 0.1);
}

.modal-stat .label {
  font-family: 'Teko', sans-serif;
  font-size: 0.55rem;
  color: #666;
  min-width: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-stat .value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--white);
  flex: 1;
}

.modal-stat .value.address {
  font-size: 0.6rem;
  word-break: break-all;
}

.modal-stat .value.highlight {
  color: var(--pink);
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.lp-highlight {
  color: var(--cyan) !important;
}

.copy-btn {
  font-family: 'Teko', sans-serif;
  font-size: 0.45rem;
  color: var(--cyan);
  background: transparent;
  border: 1px solid var(--cyan);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: none;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.copy-btn:hover {
  background: var(--cyan);
  color: var(--darker);
}

/* Cave link in modal */
.cave-link-modal {
  font-family: 'Teko', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  padding: 5px 12px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  transition: all 0.2s ease;
  margin-left: 10px;
  letter-spacing: 1px;
}

.cave-link-modal:hover {
  background: rgba(0, 255, 255, 0.25);
  color: var(--white);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

/* ============================================ */
/* CHART SECTION - Premium                     */
/* ============================================ */

.chart-section {
  margin-bottom: 25px;
  background: linear-gradient(180deg, rgba(0, 20, 25, 0.95) 0%, rgba(0, 10, 15, 0.98) 100%);
  border: 1px solid rgba(0, 139, 139, 0.3);
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 0 30px rgba(0, 139, 139, 0.15),
    inset 0 0 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

/* Chart decorative corners */
.chart-section::before,
.chart-section::after {
  content: '◇';
  position: absolute;
  font-size: 0.6rem;
  color: var(--gold);
  opacity: 0.6;
}

.chart-section::before {
  top: 8px;
  left: 10px;
}

.chart-section::after {
  top: 8px;
  right: 10px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.chart-header h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
  letter-spacing: 3px;
}

.chart-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: 6px;
  border: 1px solid rgba(0, 139, 139, 0.2);
}

.chart-tab {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: #666;
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 8px 14px;
  cursor: none;
  transition: all 0.2s ease;
}

.chart-tab:hover {
  color: var(--white);
  background: rgba(0, 255, 255, 0.1);
}

.chart-tab.active {
  color: var(--darker);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.chart-container {
  height: 320px;
  background: linear-gradient(180deg, rgba(5, 15, 20, 0.9) 0%, rgba(0, 10, 15, 0.95) 100%);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.chart-container .loading-state {
  background: transparent;
}

/* Chart price info overlay */
.chart-price-info {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  pointer-events: none;
}

.chart-current-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.chart-price-change {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  margin-top: 4px;
}

.chart-price-change.positive {
  color: var(--green);
}

.chart-price-change.negative {
  color: #ff4444;
}

.chart-legend {
  margin-top: 10px;
  padding: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #888;
  text-align: center;
}

/* ============================================ */
/* TOP HOLDERS / TOKEN STATS SECTION           */
/* ============================================ */

.top-holders-section {
  margin-bottom: 25px;
}

.top-holders-section h3,
.tx-history-section h3 {
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  letter-spacing: 2px;
}

.holders-list {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 139, 139, 0.2);
  border-radius: 8px;
  padding: 15px;
}

.loading-small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: #666;
  text-align: center;
  padding: 20px;
}

/* Stats Grid in Modal */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item.full-width {
  grid-column: 1 / -1;
}

.stat-item .stat-label {
  font-family: 'Teko', sans-serif;
  font-size: 0.5rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-item .stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}

.stat-item .stat-value.highlight {
  color: var(--pink) !important;
}

/* Graduated Token Notice */
.stat-item.notice {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 6px;
  padding: 10px 15px;
}

.graduated-notice {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.65rem !important;
  color: var(--cyan) !important;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* ============================================ */
/* MODAL ACTIONS                               */
/* ============================================ */

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.modal-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-family: 'Teko', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--cyan);
  background: linear-gradient(180deg, rgba(0, 139, 139, 0.2) 0%, rgba(0, 50, 50, 0.3) 100%);
  border: 1px solid var(--teal);
  border-radius: 8px;
  cursor: none;
  transition: all 0.3s ease;
}

.modal-actions a:hover {
  color: var(--white);
  background: linear-gradient(180deg, var(--teal) 0%, var(--dark-teal) 100%);
  border-color: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
  transform: translateY(-2px);
}

.modal-actions a:first-child {
  background: linear-gradient(180deg, rgba(255, 105, 180, 0.2) 0%, rgba(139, 20, 88, 0.3) 100%);
  border-color: var(--pink);
  color: var(--pink);
}

.modal-actions a:first-child:hover {
  background: linear-gradient(180deg, var(--pink) 0%, var(--dark-pink) 100%);
  color: var(--white);
  border-color: var(--hot-pink);
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.4);
}

/* ============================================ */
/* TRANSACTION HISTORY                         */
/* ============================================ */

.tx-history-section {
  margin-top: 25px;
}

.tx-history-list {
  max-height: 300px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 139, 139, 0.2);
  border-radius: 8px;
}

.tx-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(0, 139, 139, 0.1);
  transition: background 0.2s ease;
}

.tx-item:last-child {
  border-bottom: none;
}

.tx-item:hover {
  background: rgba(0, 255, 255, 0.05);
}

.tx-item.non-trade {
  opacity: 0.5;
}

.tx-item.non-trade:hover {
  opacity: 0.8;
}

.tx-type {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 80px;
}

.tx-type-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.tx-type-badge.buy {
  background: rgba(0, 255, 136, 0.15);
  color: var(--green);
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.tx-type-badge.sell {
  background: rgba(255, 68, 68, 0.15);
  color: #ff4444;
  border: 1px solid rgba(255, 68, 68, 0.3);
}

.tx-type-badge.graduation {
  background: rgba(147, 51, 234, 0.15);
  color: #a855f7;
  border: 1px solid rgba(147, 51, 234, 0.3);
}

.tx-type-badge.lp {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tx-type-badge.transfer {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.tx-type-badge.refund {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.tx-type-badge.unknown {
  background: rgba(107, 114, 128, 0.15);
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.tx-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 15px;
}

.tx-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--white);
}

.tx-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: #777;
}

.tx-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.tx-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  color: #555;
}

.tx-address, .tx-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

.tx-address:hover, .tx-link:hover {
  color: var(--cyan);
}

.tx-addresses {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
}

.tx-from, .tx-to {
  color: #777;
}

.tx-arrow {
  color: var(--teal);
  font-size: 0.5rem;
}

.tx-loading, .tx-empty, .tx-error {
  padding: 30px;
  text-align: center;
  color: #555;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
}

.tx-error {
  color: #ff4444;
}

.tx-more {
  padding: 12px 15px;
  text-align: center;
  border-top: 1px solid rgba(0, 139, 139, 0.15);
}

.tx-more a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tx-more a:hover {
  color: var(--pink);
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* ============================================ */
/* LOAD MORE SECTION                           */
/* ============================================ */

.load-more-section {
  display: flex;
  justify-content: center;
  padding: 30px;
}

.load-more-section.hidden {
  display: none;
}

/* ============================================ */
/* RESPONSIVE                                  */
/* ============================================ */

@media (max-width: 1024px) {
  .screener-container {
    padding: 50px 15px 80px;
  }

  .token-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .screener-container {
    padding: 40px 15px 100px;
  }

  .screener-header .glitch-text {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .screener-header .subtitle {
    font-size: 0.7rem;
    letter-spacing: 3px;
  }

  .header-stats {
    gap: 10px;
    padding: 15px;
    width: 100%;
  }

  .stat-box {
    padding: 10px 15px;
    min-width: 90px;
    flex: 1;
  }

  .stat-box .stat-value {
    font-size: 1rem;
  }

  .stat-box .stat-label {
    font-size: 0.4rem;
  }

  .search-filters {
    flex-direction: column;
    align-items: stretch;
    padding: 15px;
  }

  .search-box {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .filter-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .token-grid {
    grid-template-columns: 1fr;
  }

  .modal-content {
    padding: 20px;
    max-height: 85vh;
  }

  .modal-header {
    flex-direction: column;
    text-align: center;
  }

  .token-title h2 {
    font-size: 1.3rem;
  }

  .chart-header {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }

  .chart-tabs {
    justify-content: center;
  }

  .chart-container {
    height: 250px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .tx-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tx-meta {
    align-items: flex-start;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .screener-header .glitch-text {
    font-size: 1.5rem;
  }

  .screener-header .subtitle {
    font-size: 0.6rem;
    letter-spacing: 2px;
  }

  .header-stats {
    flex-direction: column;
  }

  .stat-box {
    width: 100%;
    min-width: 0;
  }

  .filter-btn {
    padding: 10px 12px;
    font-size: 0.5rem;
  }

  .token-card {
    padding: 15px;
  }

  .token-card-stats {
    grid-template-columns: 1fr;
  }

  .token-card-footer {
    flex-direction: column;
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .modal-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .modal-stat .label {
    min-width: 0;
  }
}
