/* Tabela Sacrifice */
.sac-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
.sac-table th, .sac-table td {
    padding: 8px;
    border-bottom: 1px solid #333;
    text-align: left;
}
.sac-table th { color: #888; width: 40%; }
.sac-table td { color: #fff; font-weight: bold; text-align: right;}
.highlight-green { color: #00ff41 !important; text-shadow: 0 0 10px rgba(0,255,65,0.3); }
/* --- CHMURKA (TOOLTIP) --- */
.custom-tooltip {
    display: none; /* Domyślnie ukryta */
    position: absolute;
    right: 125%; /* Wysunięcie w lewo od przycisku (bo pasek jest po prawej) */
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 20, 10, 0.95);
    border: 1px solid #00ff41;
    padding: 10px 15px;
    border-radius: 8px;
    width: max-content;
    min-width: 150px;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
    z-index: 1000;
    text-align: right;
    backdrop-filter: blur(5px);
    animation: fadeInLeft 0.3s ease;
}

/* Pokazanie chmurki po najechaniu */
.lightning-btn:hover .custom-tooltip {
    display: block;
}

/* Wyłączenie domyślnego dymka z data-label (jeśli masz to w CSS) */
.lightning-btn:hover::after {
    display: none !important; 
}

/* Elementy wewnątrz chmurki */
.tooltip-title { font-size: 0.7rem; color: #888; text-transform: uppercase; margin-bottom: 2px; }
.tooltip-amount { font-size: 1.1rem; color: #fff; font-weight: bold; font-family: monospace; }
.tooltip-desc { font-size: 0.7rem; color: #00ff41; margin-top: 4px; font-style: italic; }

/* Strzałka chmurki skierowana w prawo (do przycisku) */
.tooltip-arrow {
    position: absolute;
    top: 50%;
    right: -6px;
    margin-top: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent #00ff41;
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translate(10px, -50%); }
    to { opacity: 1; transform: translate(0, -50%); }
}



.rep369-content {
    background: linear-gradient(135deg, #051205 0%, #111 100%);
    border: 2px solid #00ff41;
    box-shadow: 0 0 50px rgba(0, 255, 65, 0.3);
    margin: 5% auto;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    position: relative;
    color: #fff;
    text-align: center;
    font-family: 'Rajdhani', sans-serif;
    animation: slideDown 0.4s ease-out;
}

.rep369-content h2 {
    color: #00ff41;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.info-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 65, 0.2);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    text-align: left;
}

.info-section h3 {
    margin-top: 0;
    color: #fff;
    font-size: 1.1rem;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
}

.info-section p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes slideDown {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

    :root {
      --primary-color: #00ff41;
      --primary-glow: rgba(0, 255, 65, 0.6);
      --bg-dark: #051205; 
      --glass-bg: rgba(10, 25, 10, 0.65);
      --glass-border: rgba(0, 255, 65, 0.3);
      --text-main: #ffffff;
      --text-muted: #b0b0b0;
      --font-main: 'Rajdhani', sans-serif;
    }
    
    body {
      background-color: var(--bg-dark);
      background-image: radial-gradient(circle at 50% 0%, #0f2a15 0%, var(--bg-dark) 60%);
      color: var(--text-main);
      font-family: var(--font-main);
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      overflow-x: hidden;
      position: relative;
      font-size: 15px;
      padding-top: 80px; 
    }

    /* --- TŁO --- */
    .bg-aurora {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -3;
      background: 
        radial-gradient(circle at 15% 50%, rgba(0, 255, 65, 0.15), transparent 45%),
        radial-gradient(circle at 85% 30%, rgba(157, 0, 255, 0.15), transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(0, 255, 255, 0.1), transparent 45%);
      filter: blur(50px);
      opacity: 1.0; 
      animation: auroraMove 20s ease-in-out infinite alternate;
    }
    @keyframes auroraMove { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }

    .bg-grid {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
      background-image: 
        linear-gradient(rgba(0, 255, 65, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 65, 0.05) 1px, transparent 1px);
      background-size: 50px 50px; perspective: 500px; transform-origin: top; opacity: 0.5;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 20%, transparent 100%);
    }

    .stars-1 {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1;
      background-image: 
        radial-gradient(2px 2px at 10% 10%, #fff 50%, transparent 0),
        radial-gradient(2px 2px at 20% 40%, #fff 50%, transparent 0),
        radial-gradient(3px 3px at 30% 70%, rgba(255,255,255,0.8) 50%, transparent 0),
        radial-gradient(2px 2px at 80% 20%, #fff 50%, transparent 0);
      background-size: 400px 400px; animation: starsFloat 100s linear infinite; 
      opacity: 0.8; 
    }

    .stars-2 {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1;
      background-image: 
        radial-gradient(3px 3px at 50% 50%, var(--primary-color) 50%, transparent 0),
        radial-gradient(3px 3px at 90% 80%, #fff 50%, transparent 0);
      background-size: 500px 500px; animation: starsFloat 60s linear infinite reverse; 
      opacity: 1.0; 
    }
    @keyframes starsFloat { 0% { background-position: 0 0; } 100% { background-position: 100px 100px; } }

    .bg-scanlines {
      position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999;
      background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.05));
      background-size: 100% 4px; pointer-events: none; opacity: 0.2;
    }

    .bg-watermark {
      position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
      width: 70vw; height: 70vw; max-width: 800px; max-height: 800px;
      background-image: url('../rep_logo.jpg'); background-size: contain; background-repeat: no-repeat;
      background-position: center; opacity: 0.1; z-index: -2; pointer-events: none;
      filter: grayscale(100%) blur(2px); transition: all 1s ease; animation: pulseWatermark 10s ease-in-out infinite;
    }
    @keyframes pulseWatermark { 0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.1; } 50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.15; } }

    /* UI Components */
    .lang-switch { position: absolute; top: 100px; right: 120px; z-index: 1000; }
    .lang-btn { background: rgba(0,0,0,0.6); border: 1px solid var(--primary-color); color: #fff; padding: 5px 10px; cursor: pointer; font-family: var(--font-main); font-weight: bold; transition: 0.3s; }
    .lang-btn.active { background: var(--primary-color); color: #000; }
    .lang-btn:first-child { border-radius: 5px 0 0 5px; border-right: none; }
    .lang-btn:last-child { border-radius: 0 5px 5px 0; }
    
    .stat-card .hover-desc {
      display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 260px;
      background: rgba(0,0,0,0.95); border: 1px solid var(--primary-color); color: #fff; padding: 12px;
      border-radius: 8px; font-size: 1rem; z-index: 2000; box-shadow: 0 0 20px var(--primary-glow);
      text-align: center; margin-top: 12px; pointer-events: none; backdrop-filter: blur(10px);
    }
    .stat-card .hover-desc::after { content: ""; position: absolute; bottom: 100%; left: 50%; margin-left: -6px; border-width: 6px; border-style: solid; border-color: transparent transparent var(--primary-color) transparent; }
    .stat-card {
      position: relative; z-index: 1; transition: all 0.3s; padding: 25px 20px; text-align: center;
      flex: 1 1 200px; max-width: 250px; min-width: 180px; display: flex; flex-direction: column;
      justify-content: center; align-items: center; cursor: help;
      background: var(--glass-bg);
      border: 1px solid rgba(255,255,255,0.1);
      border-radius: 12px;
    }
    .stat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 255, 65, 0.25); border-color: var(--primary-color); background: rgba(30, 60, 30, 0.9); z-index: 100; }
    .stat-card:hover .hover-desc { display: block; animation: fadeIn 0.2s ease; }
    @keyframes fadeIn { from { opacity: 0; transform: translate(-50%, 5px); } to { opacity: 1; transform: translate(-50%, 0); } }
    
    .sidebar {
      position: fixed; top: 55%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column;
      gap: 15px; padding: 10px; background: rgba(0,0,0,0.6); border-radius: 20px; backdrop-filter: blur(8px);
      border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 0 15px rgba(0,0,0,0.7);
    }
    .sidebar.left { left: 10px; }
    .sidebar.right { right: 10px; }
    .token-btn {
      width: 50px; height: 50px; border-radius: 50%; cursor: pointer; border: 2px solid rgba(255,255,255,0.2);
      transition: all 0.3s; background-size: cover; background-position: center; position: relative;
      background-color: #111; box-shadow: 0 4px 10px rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.2rem; animation: pulseSpecial 3s infinite;
    }
.token-price-badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.2);
}
.token-price-left { right: 70px; }  /* dla sidebar.right – cena po lewej od kółka */
.token-price-right { left: 70px; }  /* dla sidebar.left – cena po prawej od kółka */

    .token-btn:hover { transform: scale(1.15); border-color: var(--primary-color); box-shadow: 0 0 15px var(--primary-glow); animation: pulseSpecial 3s infinite reverse; }
    .token-btn::after {
      content: attr(data-label); position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.9);
      padding: 5px 10px; border-radius: 4px; border: 1px solid #444; font-size: 0.8rem; white-space: nowrap;
      opacity: 0; pointer-events: none; transition: 0.3s; left: 120%; z-index: 101;
    }
    .sidebar.right .token-btn::after { left: auto; right: 120%; }
    .token-btn:hover::after { opacity: 1; }
    .ufo-btn { border: 2px solid #9d00ff; animation: pulseSpecial 3s infinite; }
    .ptgc-btn { border: 2px solid #FFD700; animation: pulseSpecial 3s infinite reverse; }
    .custom-btn { border: 2px dashed #fff; color: #fff; }
    @keyframes pulseSpecial { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); } 50% { box-shadow: 0 0 15px 0px currentColor; } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.1); } }
    
    header { text-align: center; padding: 30px 20px 10px; position: relative; z-index: 2; }
    .logo-img {
      width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--primary-color);
      box-shadow: 0 0 40px var(--primary-glow); object-fit: cover; margin-bottom: 10px;
      animation: float 6s ease-in-out infinite; background: #000; transition: border-color 0.5s, box-shadow 0.5s;
    }
    @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
    h1 { font-size: 3.5rem; margin: 0; color: #fff; text-transform: uppercase; letter-spacing: 3px; text-shadow: 0 0 20px var(--primary-glow); line-height: 1.1; transition: text-shadow 0.5s; }
    h1 span { color: var(--primary-color); transition: color 0.5s; }
    .subtitle { font-size: 1.2rem; color: #ccc; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; }
    .container { max-width: 1100px; margin: 0 auto; padding: 20px 80px; width: 100%; box-sizing: border-box; position: relative; z-index: 2; flex: 1; }
    
    .glass-panel {
      background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.15); border-top: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 16px; box-shadow: 0 10px 40px 0 rgba(0,0,0,0.6); transition: border-color 0.5s, background-color 0.5s; margin-bottom: 30px;
    }
    .contract-box { padding: 15px; text-align: center; margin-bottom: 40px; cursor: pointer; transition: all 0.3s ease; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 50; }
    .contract-box:hover { background: rgba(255,255,255,0.15); border-color: var(--primary-color); transform: translateY(-2px) scale(1.02); z-index: 101; box-shadow: 0 0 25px rgba(0, 255, 65, 0.15); }
    .addr-text { font-family: 'Courier New', monospace; color: var(--primary-color); font-size: 1.1rem; word-break: break-all; font-weight: bold; text-shadow: 0 0 10px var(--primary-glow); transition: color 0.5s; }
    .copy-hint { position: relative; font-size: 0.9rem; color: #ddd; margin-top: 8px; }
    .copy-hint::after {
      content: attr(data-tooltip); position: absolute; left: 50%; transform: translateX(-50%); bottom: 130%; width: 260px;
      background: rgba(0,0,0,0.98); color: #fff; padding: 10px; border-radius: 8px; font-size: 0.8rem;
      border: 1px solid var(--primary-color); opacity: 0; pointer-events: none; transition: 0.2s; z-index: 2000;
      box-shadow: 0 10px 30px rgba(0,0,0,0.8); text-align: left; line-height: 1.4;
    }
    .copy-hint::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 120%; border-width: 6px; border-style: solid; border-color: var(--primary-color) transparent transparent transparent; opacity: 0; transition: 0.2s; z-index: 2001; }
    .contract-box:hover .copy-hint::after, .contract-box:hover .copy-hint::before { opacity: 1; }
    
    .verification-badge {
      display: inline-block; 
      font-size: 1.2rem; 
      color: #00ff41; 
      margin-left: 5px; 
      vertical-align: middle;
      background: none; 
      border: none; 
      padding: 0;
    }
    .verification-badge.error {
      background: rgba(255, 0, 0, 0.2); border-color: #ff0000; color: #ff0000; animation: blink 1s infinite; font-size: 0.75rem; padding: 2px 8px; border: 1px solid #ff0000;
    }

    .stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 30px; position: relative; z-index: 10; }
    .stat-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 5px; font-weight: 600; }
    .stat-value { font-size: 2rem; font-weight: 700; color: #fff; margin: 5px 0; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
    .sub-value { font-size: 1rem; color: #ddd; background: rgba(0,0,0,0.6); display: inline-block; padding: 4px 10px; border-radius: 8px; margin-top: 5px; }
    .positive { color: var(--primary-color); text-shadow: 0 0 15px var(--primary-glow); }
    .fire { color: #ff9d00; text-shadow: 0 0 20px rgba(255,100,0,0.6); }
    
    /* AD CONTAINER */
    .ad-container { 
        margin-bottom: 30px; 
        padding: 20px 10px; 
        text-align: center; 
        min-height: 100px; 
        display: flex; 
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        position: relative;
    }
    .ad-header {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 0.75rem;
        color: #777;
        cursor: help;
        position: relative;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        border-bottom: 1px dotted #555;
        padding-bottom: 2px;
        transition: 0.3s;
    }
    .ad-header:hover { color: var(--primary-color); border-color: var(--primary-color); }
    
    .ad-header .hover-desc {
        display: none; position: absolute; bottom: 130%; left: 50%; transform: translateX(-50%); width: 300px;
        background: rgba(0,0,0,0.98); border: 1px solid var(--primary-color); color: #fff; padding: 15px;
        border-radius: 8px; font-size: 1rem; z-index: 2000; box-shadow: 0 0 25px rgba(0,0,0,0.9);
        text-align: left; line-height: 1.5; white-space: normal; pointer-events: none;
    }
    .ad-header .hover-desc::after { 
        content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; 
        border-width: 6px; border-style: solid; border-color: var(--primary-color) transparent transparent transparent; 
    }
    .ad-header:hover .hover-desc { display: block; animation: fadeIn 0.2s ease; }


    .liquidity-section { margin-bottom: 40px; padding: 20px; }
    .section-header-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 20px; }
    .section-title { font-size: 1.5rem; color: #fff; text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 0 10px var(--primary-glow); margin: 0; display: flex; align-items: center; }
    .lp-table-container { overflow-x: auto; }
    .lp-table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 0.9rem; }
    .lp-table th { text-align: left; color: var(--primary-color); padding: 12px 10px; border-bottom: 1px solid var(--glass-border); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }
    .lp-table td { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,0.05); color: #ddd; vertical-align: middle; }
    .lp-dex { font-size: 0.8rem; color: #ccc; text-transform: uppercase; }
    .lp-pair { font-weight: bold; color: #fff; display: block; }
    .lp-liq { font-family: 'Courier New', monospace; font-weight: bold; color: var(--primary-color); }
    .lp-price { font-size: 1rem; color: #bbb; }
    .btn-small { padding: 4px 10px; font-size: 0.75rem; border: 1px solid var(--primary-color); border-radius: 4px; color: var(--primary-color); text-decoration: none; transition: 0.3s; display: inline-block; }
    .btn-small:hover { background: var(--primary-color); color: #000; }
    
    .toggle-btn-container { text-align: center; margin-top: 15px; position: relative; z-index: 50; }
    .toggle-btn { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); padding: 10px 20px; text-transform: uppercase; cursor: pointer; font-weight: 600; border-radius: 20px; transition: 0.3s; }
    .toggle-btn:hover { background: rgba(255,255,255,0.1); box-shadow: 0 0 15px var(--primary-glow); }
    
    .chart-container { height: 600px; width: 100%; overflow: hidden; position: relative; margin-bottom: 20px; }
    iframe { width: 100%; height: 100%; border: none; }
    
    .actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
    .btn { padding: 15px 40px; border-radius: 40px; text-decoration: none; font-weight: 700; text-transform: uppercase; transition: all 0.3s; font-size: 1rem; letter-spacing: 1.5px; border: 1px solid transparent; }
    .btn-primary { background: var(--primary-color); color: #000; box-shadow: 0 0 20px var(--primary-glow); }
    .btn-primary:hover { transform: scale(1.05); box-shadow: 0 0 40px var(--primary-glow); background: #fff; }
    
    .modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.8); backdrop-filter: blur(5px); }
    .modal-content { background: var(--bg-dark); border: 2px solid var(--primary-color); margin: 15% auto; padding: 30px; width: 90%; max-width: 400px; text-align: center; border-radius: 15px; position: relative; box-shadow: 0 0 50px var(--primary-glow); }
    .close-modal { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; }
    .close-modal:hover { color: var(--primary-color); }
    .donate-addr { background: rgba(255,255,255,0.1); padding: 10px; border-radius: 5px; font-family: monospace; word-break: break-all; margin: 15px 0; font-size: 0.8rem; }
    
    footer { margin-top: auto; text-align: center; padding: 30px; border-top: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.8); font-size: 0.9rem; margin-bottom: 0; }
    .socials a { color: var(--text-muted); margin: 0 15px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; }
    .socials a:hover { color: var(--primary-color); text-shadow: 0 0 10px var(--primary-glow); }
    .socials a.yt-link { color: #ff4444; }
    .socials a.yt-link:hover { color: #ff0000; text-shadow: 0 0 15px rgba(255,0,0,0.6); }

    .btn-yt {
      background: #cc0000; color: #fff; padding: 8px 16px; border-radius: 5px; text-decoration: none; 
      font-weight: bold; font-size: 0.9rem; border: 1px solid #ff0000; box-shadow: 0 0 10px rgba(255,0,0,0.3);
      display: inline-flex; align-items: center; gap: 8px; transition: 0.3s;
    }
    .btn-yt:hover { background: #ff0000; box-shadow: 0 0 20px rgba(255,0,0,0.6); transform: scale(1.05); }
    
    .loading { animation: blink 1.5s infinite ease-in-out; color: #777; }
    @keyframes blink { 50% { opacity: 0.3; } }
    
    .holders-legend-container {
        display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 15px; color: #888; font-size: 0.75rem;
    }
    .legend-item {
        display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,0.05); padding: 3px 8px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1);
    }
    .legend-icon { font-size: 1rem; }

    /* TICKER STYLES */
    .ticker-wrap, .whale-bar-wrap {
      position: fixed; left: 0; width: 100%; height: 40px; 
      background: #000; border-bottom: 1px solid #222; 
      display: flex; align-items: center; box-shadow: 0 5px 20px rgba(0,0,0,0.5); 
      font-family: 'Rajdhani', sans-serif; overflow: hidden;
    }
    .ticker-wrap { top: 0; z-index: 9999; }
    .ticker-title { 
      position: absolute; left: 0; top: 0; height: 40px; line-height: 40px; width: 160px;
      text-align: center; background: #222; color: #fff; font-weight: 700; z-index: 20; 
      box-shadow: 5px 0 15px rgba(0,0,0,0.8); text-transform: uppercase; font-size: 0.8rem; white-space: nowrap; 
    }
    .ticker-move { 
      display: flex; white-space: nowrap; padding-left: 170px; animation: scroll-infinite 90s linear infinite; 
    }
    @keyframes scroll-infinite { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    .ticker-move:hover { animation-play-state: paused; }
    .ticker-item { display: inline-block; padding: 0 20px; line-height: 40px; font-size: 0.95rem; border-right: 1px solid #333; color: #ccc; }
    .ticker-rank { color: #888; font-weight: bold; margin-right: 5px; }
    .ticker-symbol { color: #fff; font-weight: 700; }
    .ticker-price { color: #888; font-size: 0.9rem; margin-left: 5px; }
    .ticker-vol { color: #00ffff; font-size: 0.9rem; margin-left: 8px; font-weight: 700; text-shadow: 0 0 5px rgba(0,255,255,0.4); }

    .whale-bar-wrap { top: 40px; z-index: 9998; border-bottom: 1px solid var(--primary-color); }
    .whale-title { 
      position: absolute; left: 0; top: 0; height: 40px; line-height: 40px; width: 160px;
      text-align: center; background: var(--primary-color); color: #000; font-weight: 800; z-index: 20; 
      box-shadow: 5px 0 15px rgba(0,0,0,0.8); text-transform: uppercase; font-size: 1rem; white-space: nowrap;
      display: flex; align-items: center; justify-content: center; cursor: help;
    }
    .whale-content {
      display: flex; align-items: center; padding-left: 170px; width: 100%; height: 100%;
      overflow-x: auto; white-space: nowrap; scrollbar-width: none; cursor: grab;
    }
    .whale-content::-webkit-scrollbar { display: none; }
    .whale-content:active { cursor: grabbing; }

    .whale-ticker-item {
        display: inline-flex; align-items: center; gap: 8px; padding: 0 15px; line-height: 40px; font-size: 0.9rem; 
        border-right: 1px solid #333; color: #ddd; flex-shrink: 0;
    }
    .w-time { font-size: 0.75rem; color: #777; font-family: monospace; }
    .w-val { color: var(--primary-color); font-weight: bold; font-family: monospace; font-size: 1rem; }
    .w-pair { color: #aaa; font-size: 0.8rem; text-transform: uppercase; }
    .w-icon { font-size: 1.2rem; }
    .flash-new { animation: flashBg 1.5s ease-out infinite alternate; }
    @keyframes flashBg { 0% { background-color: rgba(255, 255, 255, 0.8); color: #000; } 100% { background-color: transparent; color: #ddd; } }

    .holders-panel { padding: 20px; }
    .filter-row { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; }
    .filter-btn { background: transparent; border: 1px solid #444; color: #888; padding: 5px 15px; border-radius: 20px; cursor: pointer; font-size: 0.8rem; transition: 0.3s; text-transform: uppercase; font-weight: 600; }
    .filter-btn:hover { border-color: var(--primary-color); color: #fff; }
    .filter-btn.active { background: rgba(0, 255, 65, 0.1); border-color: var(--primary-color); color: var(--primary-color); box-shadow: 0 0 10px rgba(0, 255, 65, 0.2); }
    .holders-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
    .holders-table td { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 4px 6px; color: #ddd; }
    .holders-table tr:last-child td { border-bottom: none; }
    
    /* EXCLUDED / HIDDEN SECTIONS */
    .row-excluded { opacity: 0.5; text-decoration: line-through; filter: grayscale(1); background: rgba(50,0,0,0.3); }
    .excluded-section { margin-top: 20px; border-top: 1px dashed #444; padding-top: 10px; display: none; }
    .excluded-header { font-size: 0.9rem; color: #aaa; cursor: pointer; display: flex; align-items: center; gap: 10px; }
    .excluded-header:hover { color: #fff; }

    .calc-btn { background: none; border: none; cursor: pointer; font-size: 1rem; opacity: 0.7; transition: 0.2s; padding: 0 5px; }
    .calc-btn:hover { opacity: 1; transform: scale(1.2); }
    .calc-btn.off { filter: grayscale(1); opacity: 0.4; color: #ff4444; }

    .explorer-link-icon { color: inherit; text-decoration: none; margin-left: 8px; font-size: 0.8rem; opacity: 0.6; transition: 0.3s; display: inline-block; }
    .explorer-link-icon:hover { opacity: 1; transform: scale(1.2); color: var(--primary-color); }
    .pool-name { color: #00ffff; font-weight: bold; font-size: 0.8rem; }
    
    .trend-up { color: #00ff41; font-weight: bold; font-size: 0.75rem; margin-left: 5px; }
    .trend-down { color: #ff4444; font-weight: bold; font-size: 0.75rem; margin-left: 5px; }
    .trend-new { color: #00ffff; font-weight: bold; font-size: 0.7rem; margin-left: 5px; border:1px solid #00ffff; padding:0 3px; border-radius:3px; }

    /* CLASSES FOR 3-LEVEL HOLDER LIST */
    .hidden-holder-100 { display: none; } /* Rows 10 to 99 */
    .hidden-holder-500 { display: none; } /* Rows 100 to 499 */

    @media (max-width: 900px) {
      .ticker-title, .whale-title { width: 40px; overflow: hidden; font-size: 0; padding: 0; display: flex; align-items: center; justify-content: center; }
      .ticker-title::after { content: "🔥"; font-size: 1.2rem; }
      .whale-title::after { content: "🐳"; font-size: 1.2rem; }
      .ticker-move, .whale-content { padding-left: 50px; }
      .container { padding: 20px 15px; }
    }
  
    /* COMMUNITY STATS - SIMPLE */
    .community-stats-line {
      padding: 12px 15px;
      background: rgba(0, 255, 65, 0.08);
      border: 1px solid rgba(0, 255, 65, 0.2);
      text-align: center;
      margin: 15px 0;
      font-size: 13px;
    }

    .community-stats-value {
      color: var(--primary-color);
      font-weight: 700;
      text-shadow: 0 0 8px var(--primary-glow);
    }

/* DAO BUTTON & MODAL */
#ptgcDaoWrapper {
    display: none;
    max-width: 700px;
    margin: 10px auto 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
#daoSummaryBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.04));
    border: 1px solid #f59e0b;
    border-radius: 12px;
    color: #f59e0b;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(245,158,11,0.15);
    width: 100%;
}
#daoSummaryBtn:hover {
    background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(245,158,11,0.08));
    box-shadow: 0 0 35px rgba(245,158,11,0.35);
    transform: translateY(-2px);
}
.dao-btn-label { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.dao-btn-totals {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: #fff;
    font-weight: normal;
    opacity: 0.85;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.dao-total-item { background: rgba(0,0,0,0.4); border-radius: 6px; padding: 3px 10px; border: 1px solid rgba(245,158,11,0.2); }
.dao-total-item span { color: #f59e0b; font-weight: bold; }
/* DAO overlay styles moved to css/12-dao.css */

.challenge-info-strip { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap:12px; margin: 0 0 18px; }
.challenge-info-box { background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16); border-radius:12px; padding:12px 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); }
.challenge-info-box-cta { border-color: rgba(0,213,255,0.28); }
.challenge-info-kicker { display:block; color:#9fe8ff; font-size:0.78rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:6px; }
.challenge-wallet-link, .challenge-ref-link { color:#ffffff; text-decoration:none; font-weight:700; line-height:1.45; word-break:break-all; }
.challenge-wallet-link:hover, .challenge-ref-link:hover { color:#9fe8ff; text-shadow:0 0 12px rgba(159,232,255,0.22); }
.challenge-race-title { color:#ffffff; text-shadow:0 0 12px rgba(255,255,255,0.08); }
@media (max-width: 640px) {
  .challenge-info-strip { grid-template-columns: 1fr; }
  .challenge-wallet-link, .challenge-ref-link { font-size:0.92rem; }
}


.challenge-card-pro { color:#ffffff; }
.challenge-label-pro { color:#f5fbff !important; }
.challenge-note-pro { color:#f7fbff !important; text-shadow:0 0 10px rgba(255,255,255,0.08); }
#raceHlPosSummary, #racePortfolio30dMeta, #raceUserFillsMeta { color:#eef9ff !important; }
.challenge-subtitle { color:#f6fbff !important; }
.challenge-info-box { background: rgba(255,255,255,0.09) !important; border-color: rgba(255,255,255,0.22) !important; }
.challenge-wallet-copy {
  display:block; width:100%; text-align:left; background:transparent; border:0; padding:0;
  color:#ffffff; font-weight:800; line-height:1.45; word-break:break-all; cursor:pointer;
}
.challenge-wallet-copy:hover { color:#9fe8ff; text-shadow:0 0 12px rgba(159,232,255,0.22); }
.challenge-wallet-copy-note { margin-top:6px; color:#dff6ff; font-size:0.82rem; }
.challenge-ref-note { margin-top:6px; color:#dff6ff; font-size:0.82rem; line-height:1.4; }
.challenge-value-pro.green { color:#00ff41 !important; text-shadow:0 0 12px rgba(0,255,65,0.42) !important; }
.challenge-value-pro.red { color:#ff4444 !important; text-shadow:0 0 12px rgba(255,68,68,0.38) !important; }


.challenge-strategy-box, .challenge-projection-box { background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14); border-radius:14px; padding:16px; margin:0 0 18px; }
.challenge-strategy-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.challenge-strategy-text { color:#f2f8ff; line-height:1.5; }
.challenge-tooltip-btn { width:34px; height:34px; border-radius:50%; border:1px solid rgba(159,232,255,0.35); background:rgba(0,213,255,0.12); color:#fff; font-weight:800; cursor:pointer; }
.challenge-tooltip-btn:hover { background:rgba(0,213,255,0.22); }
.challenge-tooltip { display:none; margin-top:12px; color:#eef7ff; line-height:1.55; background:rgba(0,0,0,0.35); border:1px solid rgba(255,255,255,0.12); padding:14px; border-radius:12px; }
.challenge-tooltip.show { display:block; }
.challenge-projection-table-wrap { overflow-x:auto; }
.challenge-projection-table { width:100%; border-collapse:collapse; font-size:0.92rem; }
.challenge-projection-table th { color:#f6fbff; text-align:left; padding:10px 8px; border-bottom:1px solid rgba(255,255,255,0.18); }
.challenge-projection-table td { color:#edf5ff; padding:9px 8px; border-bottom:1px solid rgba(255,255,255,0.08); }
.challenge-projection-table tr:hover td { background:rgba(255,255,255,0.04); }



.challenge-toggle-btn { padding:10px 16px; border-radius:10px; border:1px solid rgba(159,232,255,0.35); background:rgba(0,213,255,0.14); color:#ffffff; font-weight:800; cursor:pointer; transition:all 0.2s ease; }
.challenge-toggle-btn:hover { background:rgba(0,213,255,0.24); box-shadow:0 0 14px rgba(0,213,255,0.18); }
#tradingPlanTooltip, #challengeProjectionBox { display:none; }
#tradingPlanTooltip.show, #challengeProjectionBox.show { display:block; }

