/* Contract Address Section */
.hero-contract {
    margin: 2rem auto;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contract-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #A0A0B0;
    margin-bottom: 0.75rem;
    text-align: center;
}

.contract-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 600px;
}

.contract-box:hover {
    border-color: rgba(255, 184, 0, 0.5);
    background: rgba(255, 184, 0, 0.15);
}

.contract-address {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #FFB800;
    background: none;
    border: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.contract-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFB800;
    color: #0A0A0F;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.contract-copy-btn:hover {
    background: #FFC933;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.contract-copy-btn:active {
    transform: translateY(0);
}

.contract-copy-btn svg {
    width: 18px;
    height: 18px;
}

.contract-copy-btn .copied-text {
    display: none;
}

.contract-copy-btn.copied .copy-text {
    display: none;
}

.contract-copy-btn.copied .copied-text {
    display: inline;
}

.contract-copy-btn.copied {
    background: #00D9FF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-contract {
        max-width: 95%;
        padding: 0 1rem;
    }
    
    .contract-box {
        max-width: 100%;
    }
    
    .contract-address {
        font-size: 0.75rem;
    }
    
    .contract-copy-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .contract-copy-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .hero-contract {
        padding: 0 0.5rem;
    }
    
    .contract-box {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .contract-address {
        width: 100%;
        text-align: center;
        font-size: 0.7rem;
    }
    
    .contract-copy-btn {
        width: 100%;
        justify-content: center;
    }
}
