:root {
    --primary: #6abd0d;
    --primary-light: rgba(106, 189, 13, 0.1);
    --primary-lighter: rgba(213, 255, 185, 0.4);
    --secondary: #4a8c0a;
    --dark: #1a1d26;
    --text: #1f2937;      
    --text-light: #475569; 
    
 
    --light: #f8f9fa;  
    --card-bg: #ffffff;
    --border: #e2e8f0;


    --success: #10b981;
    --success-light: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-light: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-light: rgba(239, 68, 68, 0.1);
    --info: #3b82f6;
    --info-light: rgba(59, 130, 246, 0.1);
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    

    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-warning: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    --gradient-primary: linear-gradient(135deg, #6abd0d 0%, #4a8c0a 100%);

   
    --extreme-fear: #dc2626;
    --fear: #ef4444;
    --slightly-bearish: #f59e0b;
    --neutral-fgi: #eab308;
    --slightly-bullish: #84cc16;
    --greed: #10b981;
    --extreme-greed: #059669;

    --pp-nav-height: 64px;
}





.pp-navbar-wrapper {
    background: var(--card-bg, #ffffff);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pp-container {
    max-width: 1400px;
    margin: 0 auto;
}

.pp-navbar {
    display: flex;
    align-items: center;
    height: var(--pp-nav-height);
}


.pp-left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}


.pp-menu-toggle {
    display: none;
    font-size: 17px;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
}


.pp-brand img {
    height: 35px;
    width: auto;
    display: block;
}


.pp-nav-links {
    display: flex;
    margin-left: 25px;
    margin-right: auto;
    margin-top: 18px;
}

.pp-nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.pp-nav-link:hover, .pp-nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
    text-decoration:none;
}


.pp-right-section {
    display: flex;
    align-items: center;
    gap: 10px; 
    margin-left: auto;
    margin-top:15px;
}


.pp-search-icon-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-light);
    font-size: 16px;
    transition: all 0.2s;
}

.pp-search-icon-btn:hover {
    background: var(--light, #f8f9fa);
    color: var(--primary);
}


.pp-lang-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s;
    user-select: none;
}

.pp-lang-btn:hover {
    background: var(--light, #f8f9fa);
    color: var(--primary);
}

.pp-lang-btn:hover i {
    color: var(--primary) !important;
}


.pp-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.pp-dropdown-menu {
    position: absolute;
    top: 100%; 
    right: 0;
    left: auto;
    background: var(--card-bg, #fff);
    min-width: 180px; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 8px 0;
    display: none;
    border: 1px solid var(--border);
    z-index: 2000;
    margin-top: 5px;
}


.pp-dropdown.active .pp-dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.pp-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.2s;
    border-bottom: 1px solid transparent;
}

.pp-dropdown-item.active {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    text-decoration:none;
    color:var(--primary);

}

.pp-dropdown-item:hover {
    background: var(--primary-light);
    text-decoration:none;
    color:var(--primary);
}

.pp-mobile-drawer {
    display: none;
    background: var(--card-bg, #fff);
    border-top: 1px solid var(--border);
    position: absolute;
    left: 0; right: 0; top: 100%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 999;
}

.pp-mobile-link {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

/* --- RESPONSIVE LOGIC --- */
@media (max-width: 1000px) {
    .pp-nav-links { display: none; } 
    .pp-menu-toggle { display: block; }

     .pp-brand img {
  margin-top: -14px;
}
    
    .pp-left-section {
        gap: 10px;
        margin-top:5px;
    }
}

@media (max-width: 768px) {
    .pp-navbar {
  height: 55px;
}
    .pp-brand img {
  margin-top: -14px;
}
.pp-right-section{
    margin-top:7px;
    gap:5px;
}
}

/*header ends */

/*search */
.pp-search-trigger {
    background: #eff2f5;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #58667e;
    font-size: 14px;
    width: 280px;
    transition: all 0.2s ease;
}

.pp-search-trigger:hover {
    background: #e6e9ee;
    color: #000;
}

.pp-search-trigger i {
    margin-right: 8px;
    color: #a6b0c3;
}

.pp-search-shortcut {
    margin-left: auto;
    background: #fff;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 12px;
    color: #a6b0c3;
    border: 1px solid #eff2f5;
    font-family: monospace;
}

.pp-modal-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding-top: 80px;
    backdrop-filter: blur(2px);
}

.pp-modal-container {
    background: #fff;
    width: 650px;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ppSlideDown 0.2s ease-out;
}

@keyframes ppSlideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.pp-search-header {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eff2f5;
    background: #fff;
}

.pp-search-header input {
    flex-grow: 1;
    border: none;
    font-size: 16px;
    font-weight: 600;
    margin: 0 15px;
    outline: none;
    color: #000;
    background: transparent;
}

.pp-search-icon-static { 
    color: #a6b0c3; 
    font-size: 18px; 
}

.pp-close-btn {
    background: none;
    border: none;
    color: #3861fb;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.2s;
}

.pp-close-btn:hover {
    background: #f0f6ff;
}

.pp-search-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 25px;
    background: #fff;
}

.pp-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #58667e;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.pp-trending-scroll {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 4px 15px 4px;
    margin-bottom: 20px;
    scrollbar-width: none; 
    -ms-overflow-style: none;
    cursor: grab;
}

.pp-trending-scroll::-webkit-scrollbar { 
    display: none; 
}

.pp-trending-pill {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 6px 12px;
    border-radius: 100px;
    min-width: fit-content;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-shrink: 0;
    user-select: none;
}

.pp-trending-pill:hover {
    background: #ffffff;
    border-color: #ced4da;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.pp-trending-pill:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pp-pill-rank {
    background: #e9ecef;
    color: #6c757d;
    font-size: 9px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.pp-pill-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
}

.pp-pill-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.pp-pill-symbol {
    font-size: 12px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 2px;
}

.pp-pill-change {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.pp-market-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pp-market-col {
    display: flex;
    flex-direction: column;
}

.pp-coin-item {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.1s;
    margin-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.pp-coin-item:hover {
    background: #f8fafd;
    text-decoration: none;
}

.pp-coin-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 12px;
}

.pp-coin-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pp-coin-name {
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.pp-coin-symbol {
    font-size: 12px;
    color: #58667e;
}

.pp-coin-stats {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.pp-coin-price {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

.pp-change-pill {
    font-size: 12px;
    font-weight: 600;
    margin-top: 2px;
}

.pp-text-green { color: #16c784; }
.pp-text-red { color: #ea3943; }

@media (max-width: 768px) {
    .pp-modal-overlay {
        padding-top: 0;
        background: #fff;
    }

    .pp-modal-container {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .pp-market-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pp-search-trigger {
        width: 100%;
    }

    .pp-coin-item {
        padding: 12px 10px;
    }
}

/*search ends here */

/*footer */

.footer {
    color: var(--text);
}

.footer-container {
    max-width: 100%;
    margin: 0 auto;
}


.footer-top-disclaimer {
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border-radius:10px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    text-align: justify;
}


.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr; 
    gap: 40px;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border);
}


.footer-brand {
    padding-right: 20px;
}

.footer-brand .logo-image {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 13px;
}


.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    border-radius: 50%;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}


.footer-column h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
    display: inline-block;
}

.footer-column a:hover {
    color: var(--primary);
    padding-left: 5px; 
}


.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.copyright {
    color: var(--text-light);
    font-size: 12px;
}


.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.donation-section {
    width: 100%;
    background: var(--primary-light);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.donate-coin-addrs {
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px dashed var(--secondary);
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-top-disclaimer{
        margin:0 10px;
    }
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding:0px 24px;
        margin-top: 20px;
    }
    
    .footer-brand {
        text-align: left;
        padding-right: 0;
    }
    
    .social-links {
        justify-content: left;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-column h3::after {
        transform: translateX(-50%);
        left: 20px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: left;
        gap: 15px;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .donation-section {
        justify-content: center;
    }
}
/* footere ends here */


