/* Contract Address Box */
.ca-box {
    margin-top: auto; /* Push to bottom */
    margin-bottom: 15vh; /* Lift up from very bottom */
    background: linear-gradient(180deg, #63b5f6 0%, #42a5f5 100%); /* Blue gradient */
    border: 3px solid #000;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    max-width: 90%; /* Ensure it fits on mobile */
    overflow-x: auto; /* Scroll if too long on tiny screens */
    z-index: 10; /* Ensure it's on top */
}

.ca-box:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
    filter: brightness(1.1);
}

@keyframes borderPulse {
    0% { border-color: #000; box-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { border-color: #fff; box-shadow: 0 0 20px rgba(255,255,255,0.8); }
    100% { border-color: #000; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
}

.ca-box.copied {
    animation: borderPulse 0.8s ease;
}

.ca-label {
    color: #000;
    font-weight: bold;
    font-family: 'Stopbuck', sans-serif;
    font-size: 1.2rem;
    white-space: nowrap;
}

.ca-text {
    color: #000;
    font-family: 'Stopbuck', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.copy-btn:hover {
    transform: scale(1.2);
}

/* Floating Socials */
.floating-socials {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999; /* Ensure it's always on top */
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for better visibility */
    padding: 15px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 78, 146, 0.9);
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    transform: scale(1.2) translateX(-5px);
    background: var(--accent-yellow);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
    z-index: 10000;
}

.social-icon.telegram:hover {
    background: #0088cc;
    color: #fff;
    border-color: #fff;
}

.social-icon.twitter:hover {
    background: #000;
    color: #fff;
    border-color: #fff;
}

.social-icon.pump:hover {
    background: #14F195; /* Solana Greenish */
    color: #000;
    border-color: #000;
}

/* Mobile Responsive for Socials */
@media (max-width: 768px) {
    .floating-socials {
        top: auto;
        bottom: 20px;
        right: 50%;
        transform: translateX(50%);
        flex-direction: row;
        background: rgba(0,0,0,0.8);
        padding: 8px 15px;
        border-radius: 30px;
        border: 1px solid rgba(255,255,255,0.2);
        gap: 10px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .social-icon:hover {
        transform: scale(1.1);
    }

    .ca-box {
        padding: 8px 20px;
        margin-bottom: 100px; /* Adjust to not overlap with socials */
        width: 85%;
    }

    .ca-label {
        font-size: 1rem;
    }

    .ca-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ca-box {
        padding: 8px 15px;
        gap: 5px;
    }
    
    .ca-label {
        font-size: 0.9rem;
    }
    
    .ca-text {
        font-size: 0.8rem;
    }
    
    .copy-btn svg {
        width: 16px;
        height: 16px;
    }
}
